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 --- coreutils/cal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils/cal.c') diff --git a/coreutils/cal.c b/coreutils/cal.c index 3116e1ebe..8a08a9ae7 100644 --- a/coreutils/cal.c +++ b/coreutils/cal.c @@ -75,7 +75,7 @@ static char *build_row(char *p, unsigned *dp); #define J_WEEK_LEN (WEEK_LEN + 7) #define HEAD_SEP 2 /* spaces between day headings */ -int cal_main(int argc, char **argv); +int cal_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int cal_main(int argc, char **argv) { struct tm *local_time; -- cgit v1.2.3