Last change
on this file since 2860 was 2725, checked in by Bruno Cornec, 14 years ago |
- Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
|
-
Property svn:eol-style
set to
native
|
File size:
683 bytes
|
Rev | Line | |
---|
[1765] | 1 | /*
|
---|
| 2 | * Utility routines.
|
---|
| 3 | *
|
---|
[2725] | 4 | * Copyright (C) 2006 Denys Vlasenko
|
---|
[1765] | 5 | *
|
---|
[2725] | 6 | * Licensed under GPLv2, see file LICENSE in this source tree.
|
---|
[1765] | 7 | */
|
---|
| 8 |
|
---|
| 9 | /* We do not include libbb.h - #define makedev() is there! */
|
---|
[2725] | 10 | #include "platform.h"
|
---|
[1765] | 11 | #include <features.h>
|
---|
| 12 | #include <sys/sysmacros.h>
|
---|
| 13 |
|
---|
| 14 | #ifdef __GLIBC__
|
---|
| 15 | /* At least glibc has horrendously large inline for this, so wrap it */
|
---|
| 16 | /* uclibc people please check - do we need "&& !__UCLIBC__" above? */
|
---|
| 17 |
|
---|
| 18 | /* suppress gcc "no previous prototype" warning */
|
---|
[2725] | 19 | unsigned long long FAST_FUNC bb_makedev(unsigned int major, unsigned int minor);
|
---|
| 20 | unsigned long long FAST_FUNC bb_makedev(unsigned int major, unsigned int minor)
|
---|
[1765] | 21 | {
|
---|
| 22 | return makedev(major, minor);
|
---|
| 23 | }
|
---|
| 24 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.