aboutsummaryrefslogtreecommitdiff
path: root/nss
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-10-24 09:06:50 +0000
committerUlrich Drepper <drepper@redhat.com>2004-10-24 09:06:50 +0000
commit8cf26632527ab97265a4925dfd7d89ca48b4c28b (patch)
tree4badefab20e4372a97d96afe485deb6db0e94e89 /nss
parent44843eeeddc1f770d71255c6c2462c533c44b4d5 (diff)
downloadglibc-8cf26632527ab97265a4925dfd7d89ca48b4c28b.zip
glibc-8cf26632527ab97265a4925dfd7d89ca48b4c28b.tar.gz
glibc-8cf26632527ab97265a4925dfd7d89ca48b4c28b.tar.bz2
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 'nss')
-rw-r--r--nss/nss_files/files-netgrp.c1
-rw-r--r--nss/nss_files/files-parse.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/nss/nss_files/files-netgrp.c b/nss/nss_files/files-netgrp.c
index e207691..8bdc68b 100644
--- a/nss/nss_files/files-netgrp.c
+++ b/nss/nss_files/files-netgrp.c
@@ -274,6 +274,7 @@ _nss_netgroup_parseline (char **cursor, struct __netgrent *result,
return status;
}
+libnss_files_hidden_def (_nss_netgroup_parseline)
enum nss_status
diff --git a/nss/nss_files/files-parse.c b/nss/nss_files/files-parse.c
index 7d1e232..0bc15f7 100644
--- a/nss/nss_files/files-parse.c
+++ b/nss/nss_files/files-parse.c
@@ -1,5 +1,5 @@
/* Common code for file-based database parsers in nss_files module.
- Copyright (C) 1996-2000, 2003 Free Software Foundation, Inc.
+ Copyright (C) 1996-2000, 2003, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -73,7 +73,7 @@ struct parser_data
/* Export the line parser function so it can be used in nss_db. */
# define parser_stclass /* Global */
# define parse_line CONCAT(_nss_files_parse_,ENTNAME)
-# define nss_files_parse_hidden_def(name) libc_hidden_def (name)
+# define nss_files_parse_hidden_def(name) hidden_def (name)
#endif