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 @@
13#ifdef __GLIBC__ 13#ifdef __GLIBC__
14/* At least glibc has horrendously large inline for this, so wrap it */ 14/* At least glibc has horrendously large inline for this, so wrap it */
15/* uclibc people please check - do we need "&& !__UCLIBC__" above? */ 15/* uclibc people please check - do we need "&& !__UCLIBC__" above? */
16
17/* suppress gcc "no previous prototype" warning */
18unsigned long long bb_makedev(unsigned int major, unsigned int minor);
16unsigned long long bb_makedev(unsigned int major, unsigned int minor) 19unsigned long long bb_makedev(unsigned int major, unsigned int minor)
17{ 20{
18 return makedev(major, minor); 21 return makedev(major, minor);