aboutsummaryrefslogtreecommitdiff
path: root/libbb/makedev.c
diff options
context:
space:
mode:
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 4903e4783..81cd82baf 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);