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/chvt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'console-tools/chvt.c') diff --git a/console-tools/chvt.c b/console-tools/chvt.c index b1f81a20e..8390c6001 100644 --- a/console-tools/chvt.c +++ b/console-tools/chvt.c @@ -15,7 +15,7 @@ enum { VT_WAITACTIVE = 0x5607 /* wait for vt active */ }; -int chvt_main(int argc, char **argv); +int chvt_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int chvt_main(int argc, char **argv) { int fd, num; -- cgit v1.2.3-55-g6feb