diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2021-06-24 09:31:57 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-06-24 09:31:57 +0200 |
commit | 87c40cf4de435d1b19b7fb545a495542c6eaf820 (patch) | |
tree | 3eaaec39b88cff99d5beee4caac961d7b2b4c7f7 /e2fsprogs/e2fs_lib.h | |
parent | 9468ea06d2445f774dd923fdfdea04209984fbf4 (diff) | |
download | busybox-w32-87c40cf4de435d1b19b7fb545a495542c6eaf820.tar.gz busybox-w32-87c40cf4de435d1b19b7fb545a495542c6eaf820.tar.bz2 busybox-w32-87c40cf4de435d1b19b7fb545a495542c6eaf820.zip |
e2fsprogs: code shrink
function old new delta
print_e2flags_long - 109 +109
list_attributes 248 232 -16
print_e2flags 169 47 -122
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/2 up/down: 109/-138) Total: -29 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'e2fsprogs/e2fs_lib.h')
-rw-r--r-- | e2fsprogs/e2fs_lib.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/e2fsprogs/e2fs_lib.h b/e2fsprogs/e2fs_lib.h index 1a5d092c0..879272f44 100644 --- a/e2fsprogs/e2fs_lib.h +++ b/e2fsprogs/e2fs_lib.h | |||
@@ -16,10 +16,9 @@ int iterate_on_dir(const char *dir_name, | |||
16 | int FAST_FUNC (*func)(const char *, struct dirent *, void *), | 16 | int FAST_FUNC (*func)(const char *, struct dirent *, void *), |
17 | void *private); | 17 | void *private); |
18 | 18 | ||
19 | /* Must be 1 for compatibility with 'int long_format'. */ | ||
20 | #define PFOPT_LONG 1 | ||
21 | /* Print file attributes on an ext2 file system */ | 19 | /* Print file attributes on an ext2 file system */ |
22 | void print_e2flags(FILE *f, unsigned flags, unsigned options); | 20 | void print_e2flags_long(unsigned flags); |
21 | void print_e2flags(unsigned flags); | ||
23 | 22 | ||
24 | extern const uint32_t e2attr_flags_value[]; | 23 | extern const uint32_t e2attr_flags_value[]; |
25 | extern const char e2attr_flags_sname[]; | 24 | extern const char e2attr_flags_sname[]; |