diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-10-11 14:05:36 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-10-11 14:05:36 +0400 |
commit | 9b49a5ed8551e46892af3f676e5d96d21b540e3c (patch) | |
tree | 3d177ef7f3f5e8338690718c86012203ef29a7da /e2fsprogs | |
parent | 8d82cf72c99a8ab8bdbb0b179a1f1135a004c47a (diff) |
add -fvisibility=hidden to CC flags, mark XXX_main functions
EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
Diffstat (limited to 'e2fsprogs')
-rw-r--r-- | e2fsprogs/chattr.c | 2 | ||||
-rw-r--r-- | e2fsprogs/fsck.c | 2 | ||||
-rw-r--r-- | e2fsprogs/lsattr.c | 2 | ||||
-rw-r--r-- | e2fsprogs/old_e2fsprogs/chattr.c | 2 | ||||
-rw-r--r-- | e2fsprogs/old_e2fsprogs/fsck.c | 2 | ||||
-rw-r--r-- | e2fsprogs/old_e2fsprogs/lsattr.c | 2 | ||||
-rw-r--r-- | e2fsprogs/old_e2fsprogs/tune2fs.c | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/e2fsprogs/chattr.c b/e2fsprogs/chattr.c index 35424f842..db5437228 100644 --- a/e2fsprogs/chattr.c +++ b/e2fsprogs/chattr.c @@ -142,7 +142,7 @@ static void change_attributes(const char *name, struct globals *gp) iterate_on_dir(name, chattr_dir_proc, gp); } -int chattr_main(int argc, char **argv); +int chattr_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int chattr_main(int argc, char **argv) { struct globals g; diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c index 110b3d246..f80de8178 100644 --- a/e2fsprogs/fsck.c +++ b/e2fsprogs/fsck.c @@ -1153,7 +1153,7 @@ static void signal_cancel(int sig ATTRIBUTE_UNUSED) cancel_requested = 1; } -int fsck_main(int argc, char **argv); +int fsck_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int fsck_main(int argc, char **argv) { int i, status = 0; diff --git a/e2fsprogs/lsattr.c b/e2fsprogs/lsattr.c index 5f4f87276..6f4b9742c 100644 --- a/e2fsprogs/lsattr.c +++ b/e2fsprogs/lsattr.c @@ -95,7 +95,7 @@ static void lsattr_args(const char *name) } } -int lsattr_main(int argc, char **argv); +int lsattr_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int lsattr_main(int argc, char **argv) { getopt32(argv, "Radlv"); diff --git a/e2fsprogs/old_e2fsprogs/chattr.c b/e2fsprogs/old_e2fsprogs/chattr.c index b9339387d..ae39d9224 100644 --- a/e2fsprogs/old_e2fsprogs/chattr.c +++ b/e2fsprogs/old_e2fsprogs/chattr.c @@ -170,7 +170,7 @@ static int chattr_dir_proc(const char *dir_name, struct dirent *de, return 0; } -int chattr_main(int argc, char **argv); +int chattr_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int chattr_main(int argc, char **argv) { int i; diff --git a/e2fsprogs/old_e2fsprogs/fsck.c b/e2fsprogs/old_e2fsprogs/fsck.c index 7e7383898..d4914a571 100644 --- a/e2fsprogs/old_e2fsprogs/fsck.c +++ b/e2fsprogs/old_e2fsprogs/fsck.c @@ -1321,7 +1321,7 @@ static void PRS(int argc, char **argv) max_running = atoi(tmp); } -int fsck_main(int argc, char **argv); +int fsck_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int fsck_main(int argc, char **argv) { int i, status = 0; diff --git a/e2fsprogs/old_e2fsprogs/lsattr.c b/e2fsprogs/old_e2fsprogs/lsattr.c index bbc03aa9d..277ec7c2c 100644 --- a/e2fsprogs/old_e2fsprogs/lsattr.c +++ b/e2fsprogs/old_e2fsprogs/lsattr.c @@ -112,7 +112,7 @@ static int lsattr_dir_proc(const char *dir_name, struct dirent *de, return 0; } -int lsattr_main(int argc, char **argv); +int lsattr_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int lsattr_main(int argc, char **argv) { int i; diff --git a/e2fsprogs/old_e2fsprogs/tune2fs.c b/e2fsprogs/old_e2fsprogs/tune2fs.c index 920a50c6a..c5c84d68e 100644 --- a/e2fsprogs/old_e2fsprogs/tune2fs.c +++ b/e2fsprogs/old_e2fsprogs/tune2fs.c @@ -577,7 +577,7 @@ static void tune2fs_clean_up(void) if (ENABLE_FEATURE_CLEAN_UP && journal_device) free(journal_device); } -int tune2fs_main(int argc, char **argv); +int tune2fs_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int tune2fs_main(int argc, char **argv) { errcode_t retval; |