fix warning from needlessly-global functions

This commit is contained in:
Denis Vlasenko
2007-01-22 23:04:27 +00:00
parent d77f7c3136
commit 769d1e05e6
6 changed files with 17 additions and 10 deletions

View File

@ -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);