RFC: [PATCH] do not do libc_hidden_proto() thing for internal functions

Denys Vlasenko vda.linux at googlemail.com
Thu Apr 10 23:33:29 UTC 2008


Hi Peter, folks,

IIUC typically uclibc internal functions are labeled attribute_hidden,
which makes them efficiently callable from within dynamically built
uclibc and not callable from programs linked against it.

I noticed that a few functions, which are not exported in any .h file,
are still using libc_hidden_proto(func) method instead.

ruserpass() function does both :) - it is labeled attribute_hidden
and touched by libc_hidden_proto(ruserpass).

This patch converts five such functions to attribute_hidden method:

libc/inet/*: inet_ntoa_r
libc/inet/rpc/*: ruserpass, xdr_accepted_reply, xdr_rejected_reply
libc/misc/time/*: _time_tzset

Please let me know if I am missing something here.
--
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 5.patch
Type: text/x-diff
Size: 4074 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20080411/981a501c/attachment.bin 


More information about the uClibc mailing list