add -fvisibility=hidden to CC flags, mark XXX_main functions

EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
This commit is contained in:
Denis Vlasenko
2007-10-11 10:05:36 +00:00
parent 8d82cf72c9
commit 9b49a5ed85
260 changed files with 325 additions and 307 deletions

View File

@@ -41,8 +41,8 @@ static void show_min_max(int pol)
#define OPT_f (1<<3)
#define OPT_o (1<<4)
int chrt_main(int argc, char** argv);
int chrt_main(int argc, char** argv)
int chrt_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int chrt_main(int argc, char **argv)
{
pid_t pid = 0;
unsigned opt;