diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-17 20:29:00 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-17 20:29:00 +0000 |
commit | a7189f01a4a19a9c8852e84b322fc3d8cbda92eb (patch) | |
tree | 436e3ab7b6f055553199153e99f6b7589fb488ec /e2fsprogs/ext2fs/finddev.c | |
parent | 04c6386c45cd795617dd754066ac3bd6a62757cb (diff) | |
download | busybox-w32-a7189f01a4a19a9c8852e84b322fc3d8cbda92eb.tar.gz busybox-w32-a7189f01a4a19a9c8852e84b322fc3d8cbda92eb.tar.bz2 busybox-w32-a7189f01a4a19a9c8852e84b322fc3d8cbda92eb.zip |
add -Wundef, fix uncovered bugs
Diffstat (limited to 'e2fsprogs/ext2fs/finddev.c')
-rw-r--r-- | e2fsprogs/ext2fs/finddev.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/e2fsprogs/ext2fs/finddev.c b/e2fsprogs/ext2fs/finddev.c index 4dda916d0..5e2cce940 100644 --- a/e2fsprogs/ext2fs/finddev.c +++ b/e2fsprogs/ext2fs/finddev.c | |||
@@ -13,22 +13,22 @@ | |||
13 | 13 | ||
14 | #include <stdio.h> | 14 | #include <stdio.h> |
15 | #include <string.h> | 15 | #include <string.h> |
16 | #if HAVE_UNISTD_H | 16 | #ifdef HAVE_UNISTD_H |
17 | #include <unistd.h> | 17 | #include <unistd.h> |
18 | #endif | 18 | #endif |
19 | #include <stdlib.h> | 19 | #include <stdlib.h> |
20 | #include <string.h> | 20 | #include <string.h> |
21 | #if HAVE_SYS_TYPES_H | 21 | #ifdef HAVE_SYS_TYPES_H |
22 | #include <sys/types.h> | 22 | #include <sys/types.h> |
23 | #endif | 23 | #endif |
24 | #if HAVE_SYS_STAT_H | 24 | #ifdef HAVE_SYS_STAT_H |
25 | #include <sys/stat.h> | 25 | #include <sys/stat.h> |
26 | #endif | 26 | #endif |
27 | #include <dirent.h> | 27 | #include <dirent.h> |
28 | #if HAVE_ERRNO_H | 28 | #ifdef HAVE_ERRNO_H |
29 | #include <errno.h> | 29 | #include <errno.h> |
30 | #endif | 30 | #endif |
31 | #if HAVE_SYS_MKDEV_H | 31 | #ifdef HAVE_SYS_MKDEV_H |
32 | #include <sys/mkdev.h> | 32 | #include <sys/mkdev.h> |
33 | #endif | 33 | #endif |
34 | 34 | ||