diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/libbb.h | 8 | ||||
| -rw-r--r-- | include/mingw.h | 1 |
2 files changed, 6 insertions, 3 deletions
diff --git a/include/libbb.h b/include/libbb.h index f8e54de54..e816a2726 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
| @@ -1662,11 +1662,15 @@ int bb_xioctl(int fd, unsigned request, void *argp) FAST_FUNC; | |||
| 1662 | #define xioctl(fd,request,argp) bb_xioctl(fd,request,argp) | 1662 | #define xioctl(fd,request,argp) bb_xioctl(fd,request,argp) |
| 1663 | #endif | 1663 | #endif |
| 1664 | 1664 | ||
| 1665 | char *is_in_ino_dev_hashtable(const struct stat *statbuf) FAST_FUNC; | ||
| 1666 | #if !ENABLE_PLATFORM_MINGW32 | 1665 | #if !ENABLE_PLATFORM_MINGW32 |
| 1666 | char *is_in_ino_dev_hashtable(const struct stat *statbuf) FAST_FUNC; | ||
| 1667 | void add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name) FAST_FUNC; | 1667 | void add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name) FAST_FUNC; |
| 1668 | #endif | ||
| 1669 | void reset_ino_dev_hashtable(void) FAST_FUNC; | 1668 | void reset_ino_dev_hashtable(void) FAST_FUNC; |
| 1669 | #else | ||
| 1670 | #define add_to_ino_dev_hashtable(s, n) (void)0 | ||
| 1671 | #define is_in_ino_dev_hashtable(s) NULL | ||
| 1672 | #define reset_ino_dev_hashtable() | ||
| 1673 | #endif | ||
| 1670 | #ifdef __GLIBC__ | 1674 | #ifdef __GLIBC__ |
| 1671 | /* At least glibc has horrendously large inline for this, so wrap it */ | 1675 | /* At least glibc has horrendously large inline for this, so wrap it */ |
| 1672 | unsigned long long bb_makedev(unsigned major, unsigned minor) FAST_FUNC; | 1676 | unsigned long long bb_makedev(unsigned major, unsigned minor) FAST_FUNC; |
diff --git a/include/mingw.h b/include/mingw.h index 1bb2032cd..09903d582 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
| @@ -435,7 +435,6 @@ const char * next_path_sep(const char *path); | |||
| 435 | #define is_absolute_path(path) ((path)[0] == '/' || (path)[0] == '\\' || has_dos_drive_prefix(path)) | 435 | #define is_absolute_path(path) ((path)[0] == '/' || (path)[0] == '\\' || has_dos_drive_prefix(path)) |
| 436 | 436 | ||
| 437 | #define find_mount_point(n, s) find_mount_point(n) | 437 | #define find_mount_point(n, s) find_mount_point(n) |
| 438 | #define add_to_ino_dev_hashtable(s, n) (void)0 | ||
| 439 | 438 | ||
| 440 | /* | 439 | /* |
| 441 | * helpers | 440 | * helpers |
