diff options
author | Denis Vlasenko | 2007-10-11 10:05:36 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-10-11 10:05:36 +0000 |
commit | 9b49a5ed8551e46892af3f676e5d96d21b540e3c (patch) | |
tree | 3d177ef7f3f5e8338690718c86012203ef29a7da /networking/ping.c | |
parent | 8d82cf72c99a8ab8bdbb0b179a1f1135a004c47a (diff) | |
download | busybox-9b49a5ed8551e46892af3f676e5d96d21b540e3c.zip busybox-9b49a5ed8551e46892af3f676e5d96d21b540e3c.tar.gz |
add -fvisibility=hidden to CC flags, mark XXX_main functions
EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
Diffstat (limited to 'networking/ping.c')
-rw-r--r-- | networking/ping.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/ping.c b/networking/ping.c index 5d61cd7..8b70d9a 100644 --- a/networking/ping.c +++ b/networking/ping.c @@ -173,7 +173,7 @@ static void ping6(len_and_sockaddr *lsa) } #endif -int ping_main(int argc, char **argv); +int ping_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int ping_main(int argc, char **argv) { len_and_sockaddr *lsa; @@ -676,7 +676,7 @@ static void ping(len_and_sockaddr *lsa) ping4(lsa); } -int ping_main(int argc, char **argv); +int ping_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int ping_main(int argc, char **argv) { len_and_sockaddr *lsa; @@ -724,7 +724,7 @@ int ping_main(int argc, char **argv) #if ENABLE_PING6 -int ping6_main(int argc, char **argv); +int ping6_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int ping6_main(int argc, char **argv) { argv[0] = (char*)"-6"; |