diff options
author | Rob Landley <rob@landley.net> | 2006-05-03 21:58:45 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-05-03 21:58:45 +0000 |
commit | 7c94bed2345008b4b62014a846488319a7af0727 (patch) | |
tree | 4345ba7255410654b6c8c4d7f51122643f6d9584 /e2fsprogs/lsattr.c | |
parent | db2ab89b7c66c97e7a849a4a25baca10de4576dc (diff) | |
download | busybox-w32-7c94bed2345008b4b62014a846488319a7af0727.tar.gz busybox-w32-7c94bed2345008b4b62014a846488319a7af0727.tar.bz2 busybox-w32-7c94bed2345008b4b62014a846488319a7af0727.zip |
Big dead code elimination pass from Garrett.
Diffstat (limited to 'e2fsprogs/lsattr.c')
-rw-r--r-- | e2fsprogs/lsattr.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/e2fsprogs/lsattr.c b/e2fsprogs/lsattr.c index b5ec8ab98..1f2176600 100644 --- a/e2fsprogs/lsattr.c +++ b/e2fsprogs/lsattr.c | |||
@@ -33,12 +33,6 @@ | |||
33 | #include "e2fsbb.h" | 33 | #include "e2fsbb.h" |
34 | #include "e2p/e2p.h" | 34 | #include "e2p/e2p.h" |
35 | 35 | ||
36 | #ifdef __GNUC__ | ||
37 | # define EXT2FS_ATTR(x) __attribute__(x) | ||
38 | #else | ||
39 | # define EXT2FS_ATTR(x) | ||
40 | #endif | ||
41 | |||
42 | #define OPT_RECUR 1 | 36 | #define OPT_RECUR 1 |
43 | #define OPT_ALL 2 | 37 | #define OPT_ALL 2 |
44 | #define OPT_DIRS_OPT 4 | 38 | #define OPT_DIRS_OPT 4 |
@@ -98,7 +92,7 @@ static void lsattr_args(const char *name) | |||
98 | } | 92 | } |
99 | 93 | ||
100 | static int lsattr_dir_proc(const char *dir_name, struct dirent *de, | 94 | static int lsattr_dir_proc(const char *dir_name, struct dirent *de, |
101 | void *private EXT2FS_ATTR((unused))) | 95 | void *private) |
102 | { | 96 | { |
103 | STRUCT_STAT st; | 97 | STRUCT_STAT st; |
104 | char *path; | 98 | char *path; |