hush: move msh/lash config into hush.c, no code changes
[oweals/busybox.git] / libbb / makedev.c
index efd51224f6f5c8b8283bc14231ea61ce1f35e10d..ca71fdba68433ea1a3a3fa6a0020c691c1ecdf31 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 /* We do not include libbb.h - #define makedev() is there! */
+#include "platform.h"
 #include <features.h>
 #include <sys/sysmacros.h>
 
@@ -15,8 +16,8 @@
 /* uclibc people please check - do we need "&& !__UCLIBC__" above? */
 
 /* suppress gcc "no previous prototype" warning */
-unsigned long long bb_makedev(unsigned int major, unsigned int minor);
-unsigned long long bb_makedev(unsigned int major, unsigned int minor)
+unsigned long long FAST_FUNC bb_makedev(unsigned int major, unsigned int minor);
+unsigned long long FAST_FUNC bb_makedev(unsigned int major, unsigned int minor)
 {
        return makedev(major, minor);
 }