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 --- loginutils/login.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'loginutils/login.c') diff --git a/loginutils/login.c b/loginutils/login.c index dfdc58b30..bddc0f533 100644 --- a/loginutils/login.c +++ b/loginutils/login.c @@ -219,7 +219,7 @@ static void alarm_handler(int sig ATTRIBUTE_UNUSED) exit(EXIT_SUCCESS); } -int login_main(int argc, char **argv); +int login_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int login_main(int argc, char **argv) { enum { -- cgit v1.2.3