From 9b49a5ed8551e46892af3f676e5d96d21b540e3c Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 11 Oct 2007 10:05:36 +0000 Subject: add -fvisibility=hidden to CC flags, mark XXX_main functions EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so --- console-tools/setconsole.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'console-tools/setconsole.c') diff --git a/console-tools/setconsole.c b/console-tools/setconsole.c index 32218ae8f..0aa1d3a35 100644 --- a/console-tools/setconsole.c +++ b/console-tools/setconsole.c @@ -18,7 +18,7 @@ static const char setconsole_longopts[] ALIGN1 = #define OPT_SETCONS_RESET 1 -int setconsole_main(int argc, char **argv); +int setconsole_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int setconsole_main(int argc, char **argv) { unsigned long flags; -- cgit v1.2.3