aboutsummaryrefslogtreecommitdiff
path: root/libbb/makedev.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-06-28 04:58:55 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-06-28 04:58:55 +0000
commit9579d87be4ab9b02195749c15a2112e2a4466ab4 (patch)
tree4b7a5e36c0d6f4c4269892054dbe35d415e904c4 /libbb/makedev.c
parentdbcf3275ec36343f8bb2fb3faa8a4f18fb66419b (diff)
downloadbusybox-9579d87be4ab9b02195749c15a2112e2a4466ab4.tar.gz
fix FAST_FUNC fallout
Diffstat (limited to 'libbb/makedev.c')
-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);
}