__uc_malloc hooks

Denys Vlasenko vda.linux at googlemail.com
Sat Sep 15 12:33:30 PDT 2007


On Saturday 15 September 2007 20:07, Mike Frysinger wrote:
> > Directly after that libc-symbols.h contains libc_hidden_XXX land.
> > I do think that libc_hidden_def/libc_hidden_proto macros need renaming.
> 
> renaming to what ?

To a descriptive name.

libc_hidden_def(foo)

is not descriptive. Worse: it says something like
"hidden definition of foo", which is totally dissimilar
to what is actually happening.

Example of better names:

libc_define_internal_alias_to(foo)
libc_use_internal_alias_to(foo)

I'm not particularly attached to these exact names,
just an example how descriptive name might look like.
--
vda


More information about the uClibc mailing list