diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-10-24 09:06:50 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-10-24 09:06:50 +0000 |
commit | 8cf26632527ab97265a4925dfd7d89ca48b4c28b (patch) | |
tree | 4badefab20e4372a97d96afe485deb6db0e94e89 /include | |
parent | Define hidden attribute macros for libnss_files. (diff) | |
download | glibc-8cf26632527ab97265a4925dfd7d89ca48b4c28b.tar.gz glibc-8cf26632527ab97265a4925dfd7d89ca48b4c28b.tar.bz2 glibc-8cf26632527ab97265a4925dfd7d89ca48b4c28b.zip |
Update.
2004-10-24 Ulrich Drepper <drepper@redhat.com>
* include/libc-symbols.h: Define hidden attribute macros for
libnss_files.
* include/netdb.h: Use libnss_files_hidden_proto for the parsers
defined in libnss_files, not libc_hidden_proto.
* include/netinet/ether.h: Likewise.
* include/rpc/netdb.h: Likewise.
* nss/nss_files/files-parse.c: Use hidden_def in parser definitions
instead of libc_hidden_def.
* nss/nss_files/files-netgrp.c: Add libnss_files_hidden_def to
_nss_netgroup_parseline definition.
Diffstat (limited to 'include')
-rw-r--r-- | include/netdb.h | 7 | ||||
-rw-r--r-- | include/netinet/ether.h | 2 | ||||
-rw-r--r-- | include/rpc/netdb.h | 2 |
3 files changed, 6 insertions, 5 deletions
diff --git a/include/netdb.h b/include/netdb.h index e8f28e8c67..0bf84c21c0 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -202,9 +202,10 @@ extern enum nss_status _nss_netgroup_parseline (char **cursor, struct __netgrent *result, char *buffer, size_t buflen, int *errnop); -libc_hidden_proto (_nss_files_parse_protoent) -libc_hidden_proto (_nss_files_parse_servent) -libc_hidden_proto (_nss_files_parse_netent) +libnss_files_hidden_proto (_nss_files_parse_protoent) +libnss_files_hidden_proto (_nss_files_parse_servent) +libnss_files_hidden_proto (_nss_files_parse_netent) +libnss_files_hidden_proto (_nss_netgroup_parseline) #define DECLARE_NSS_PROTOTYPES(service) \ extern enum nss_status _nss_ ## service ## _setprotoent (int); \ diff --git a/include/netinet/ether.h b/include/netinet/ether.h index 2a9efae0bf..2efe4c04e4 100644 --- a/include/netinet/ether.h +++ b/include/netinet/ether.h @@ -17,7 +17,7 @@ struct parser_data; extern int _nss_files_parse_etherent (char *line, struct etherent *result, struct parser_data *data, size_t datalen, int *errnop); -libc_hidden_proto (_nss_files_parse_etherent) +libnss_files_hidden_proto (_nss_files_parse_etherent) #define DECLARE_NSS_PROTOTYPES(service) \ extern enum nss_status _nss_ ## service ## _setetherent (int __stayopen); \ diff --git a/include/rpc/netdb.h b/include/rpc/netdb.h index ad7cff1a6e..f7021e7aba 100644 --- a/include/rpc/netdb.h +++ b/include/rpc/netdb.h @@ -26,7 +26,7 @@ struct parser_data; extern int _nss_files_parse_rpcent (char *line, struct rpcent *result, struct parser_data *data, size_t datalen, int *errnop); -libc_hidden_proto (_nss_files_parse_rpcent) +libnss_files_hidden_proto (_nss_files_parse_rpcent) #define DECLARE_NSS_PROTOTYPES(service) \ extern enum nss_status _nss_ ## service ## _setrpcent (int); \ |