From 8cf26632527ab97265a4925dfd7d89ca48b4c28b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 24 Oct 2004 09:06:50 +0000 Subject: Update. 2004-10-24 Ulrich Drepper * 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. --- nss/nss_files/files-netgrp.c | 1 + nss/nss_files/files-parse.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'nss') 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 -- cgit v1.1