add -fvisibility=hidden to CC flags, mark XXX_main functions
EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
This commit is contained in:
@ -119,7 +119,7 @@ static void sig_handler(int signo)
|
||||
restore_state_and_exit(0);
|
||||
}
|
||||
|
||||
int slattach_main(int argc, char **argv);
|
||||
int slattach_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int slattach_main(int argc, char **argv)
|
||||
{
|
||||
/* Line discipline code table */
|
||||
|
Reference in New Issue
Block a user