aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/makedev.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libbb/makedev.c b/libbb/makedev.c
index efd51224f..ca71fdba6 100644
--- a/libbb/makedev.c
+++ b/libbb/makedev.c
@@ -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);
}