summaryrefslogtreecommitdiff
path: root/libbb/makedev.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-01-22 23:04:27 +0000
committerDenis Vlasenko2007-01-22 23:04:27 +0000
commit769d1e05e668968b2432725c1844bb45e353c071 (patch)
tree2b79d2a50fc1d5bd68595db861151656d33bf2f7 /libbb/makedev.c
parentd77f7c3136b87540447d9d58194163e7996ea2fa (diff)
downloadbusybox-769d1e05e668968b2432725c1844bb45e353c071.zip
busybox-769d1e05e668968b2432725c1844bb45e353c071.tar.gz
fix warning from needlessly-global functions
Diffstat (limited to 'libbb/makedev.c')
-rw-r--r--libbb/makedev.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbb/makedev.c b/libbb/makedev.c
index 4903e47..81cd82b 100644
--- a/libbb/makedev.c
+++ b/libbb/makedev.c
@@ -13,6 +13,9 @@
#ifdef __GLIBC__
/* At least glibc has horrendously large inline for this, so wrap it */
/* 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)
{
return makedev(major, minor);