add -fvisibility=hidden to CC flags, mark XXX_main functions
EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
This commit is contained in:
@@ -550,8 +550,8 @@ static void cookmode(void)
|
||||
tcsetattr(0, TCSADRAIN, &G.termios_def);
|
||||
}
|
||||
|
||||
int telnet_main(int argc, char** argv);
|
||||
int telnet_main(int argc, char** argv)
|
||||
int telnet_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int telnet_main(int argc, char **argv)
|
||||
{
|
||||
char *host;
|
||||
int port;
|
||||
|
Reference in New Issue
Block a user