diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-05-09 15:07:20 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-05-09 15:07:20 +0200 |
commit | fe0fc11bacc3e00023e45b04b9ee788ed161c4b8 (patch) | |
tree | 90a7a901babfc37edf9611e205330f5e95076ddd /nss-myhostname.c | |
parent | 8041b5bada31db152de80e45b3047ed32cef6880 (diff) |
set visibility of functions explicitly to avoid name clashes
Diffstat (limited to 'nss-myhostname.c')
-rw-r--r-- | nss-myhostname.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nss-myhostname.c b/nss-myhostname.c index b091fba35d..293166c491 100644 --- a/nss-myhostname.c +++ b/nss-myhostname.c @@ -50,7 +50,7 @@ enum nss_status _nss_myhostname_gethostbyname4_r( struct gaih_addrtuple **pat, char *buffer, size_t buflen, int *errnop, int *h_errnop, - int32_t *ttlp); + int32_t *ttlp) _public_; enum nss_status _nss_myhostname_gethostbyname3_r( const char *name, @@ -59,20 +59,20 @@ enum nss_status _nss_myhostname_gethostbyname3_r( char *buffer, size_t buflen, int *errnop, int *h_errnop, int32_t *ttlp, - char **canonp); + char **canonp) _public_; enum nss_status _nss_myhostname_gethostbyname2_r( const char *name, int af, struct hostent *host, char *buffer, size_t buflen, - int *errnop, int *h_errnop); + int *errnop, int *h_errnop) _public_; enum nss_status _nss_myhostname_gethostbyname_r( const char *name, struct hostent *host, char *buffer, size_t buflen, - int *errnop, int *h_errnop); + int *errnop, int *h_errnop) _public_; enum nss_status _nss_myhostname_gethostbyaddr2_r( const void* addr, socklen_t len, @@ -80,14 +80,14 @@ enum nss_status _nss_myhostname_gethostbyaddr2_r( struct hostent *host, char *buffer, size_t buflen, int *errnop, int *h_errnop, - int32_t *ttlp); + int32_t *ttlp) _public_; enum nss_status _nss_myhostname_gethostbyaddr_r( const void* addr, socklen_t len, int af, struct hostent *host, char *buffer, size_t buflen, - int *errnop, int *h_errnop); + int *errnop, int *h_errnop) _public_; enum nss_status _nss_myhostname_gethostbyname4_r( const char *name, |