diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-28 04:58:55 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-28 04:58:55 +0000 |
commit | 9579d87be4ab9b02195749c15a2112e2a4466ab4 (patch) | |
tree | 4b7a5e36c0d6f4c4269892054dbe35d415e904c4 /libbb | |
parent | dbcf3275ec36343f8bb2fb3faa8a4f18fb66419b (diff) | |
download | busybox-w32-9579d87be4ab9b02195749c15a2112e2a4466ab4.tar.gz busybox-w32-9579d87be4ab9b02195749c15a2112e2a4466ab4.tar.bz2 busybox-w32-9579d87be4ab9b02195749c15a2112e2a4466ab4.zip |
fix FAST_FUNC fallout
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/makedev.c | 5 |
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 @@ | |||
7 | */ | 7 | */ |
8 | 8 | ||
9 | /* We do not include libbb.h - #define makedev() is there! */ | 9 | /* We do not include libbb.h - #define makedev() is there! */ |
10 | #include "platform.h" | ||
10 | #include <features.h> | 11 | #include <features.h> |
11 | #include <sys/sysmacros.h> | 12 | #include <sys/sysmacros.h> |
12 | 13 | ||
@@ -15,8 +16,8 @@ | |||
15 | /* uclibc people please check - do we need "&& !__UCLIBC__" above? */ | 16 | /* uclibc people please check - do we need "&& !__UCLIBC__" above? */ |
16 | 17 | ||
17 | /* suppress gcc "no previous prototype" warning */ | 18 | /* suppress gcc "no previous prototype" warning */ |
18 | unsigned long long bb_makedev(unsigned int major, unsigned int minor); | 19 | unsigned long long FAST_FUNC bb_makedev(unsigned int major, unsigned int minor); |
19 | unsigned long long bb_makedev(unsigned int major, unsigned int minor) | 20 | unsigned long long FAST_FUNC bb_makedev(unsigned int major, unsigned int minor) |
20 | { | 21 | { |
21 | return makedev(major, minor); | 22 | return makedev(major, minor); |
22 | } | 23 | } |