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/chpasswd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'loginutils/chpasswd.c') diff --git a/loginutils/chpasswd.c b/loginutils/chpasswd.c index 61f9b89..7d47899 100644 --- a/loginutils/chpasswd.c +++ b/loginutils/chpasswd.c @@ -20,7 +20,7 @@ static const char chpasswd_longopts[] ALIGN1 = #define OPT_ENC 1 #define OPT_MD5 2 -int chpasswd_main(int argc, char **argv); +int chpasswd_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int chpasswd_main(int argc, char **argv) { char *name, *pass; -- cgit v1.1