cvs commit: src/lib/libc/net getproto.c getprotoent.c getprotoname.c netdb_private.h

Daniel Eischen deischen at freebsd.org
Tue Apr 19 11:10:41 PDT 2005


On Tue, 19 Apr 2005, Hajimu UMEMOTO wrote:

> ume         2005-04-19 14:41:13 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     lib/libc/net         getproto.c getprotoent.c getprotoname.c
>                          netdb_private.h
>   Log:
>   - add getproto{byname,bynumber,ent}_r for internal use within libc.
>   - make getproto{byname,bynumber,ent} thread-safe.

Stop polluting the namespace.  If the externally visible functions
you add are not in a standard and are only for use within libc,
they need to be prefixed with "_" or "__".  I haven't paid attention
to your other commits in libc, but please go back and fix other
occurrences if there are any.  Or make them static if they can
be.

-- 
DE



More information about the cvs-all mailing list