From 07bbf922670cce83c0b54f28ad43473d044cae5e Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 12 Apr 2008 01:34:04 +0000 Subject: Functions should be either exported in public .h files and marked with libc_hidden_proto/def(), or not be exported in .h files and be hidden (or even static if possible). We have five functions which violate this. Fixing: netdb.h: export ruserpass() rpc/rpc.h: export xdr_accepted_reply() and xdr_rejected_reply() make inet_ntoa_r static function (it is not exported in any .h file) make _time_tzset hidden function (it is not exported in any .h file) --- libc/misc/time/time.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libc/misc/time') diff --git a/libc/misc/time/time.c b/libc/misc/time/time.c index 91b4097ff..6571b14b3 100644 --- a/libc/misc/time/time.c +++ b/libc/misc/time/time.c @@ -202,8 +202,7 @@ libc_hidden_proto(__ctype_b) ((defined(L_strftime) || defined(L_strftime_l)) && \ defined(__UCLIBC_HAS_XLOCALE__)) -void _time_tzset(int use_old_rules); -libc_hidden_proto(_time_tzset) +void _time_tzset(int use_old_rules) attribute_hidden; #ifndef L__time_mktime -- cgit v1.2.3