mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-18 06:30:05 +00:00
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.
This commit is contained in:
parent
44843eeedd
commit
8cf2663252
13
ChangeLog
13
ChangeLog
@ -1,3 +1,16 @@
|
||||
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.
|
||||
|
||||
2004-10-23 Roland McGrath <roland@frob.com>
|
||||
|
||||
* sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Don't return early
|
||||
|
@ -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); \
|
||||
|
@ -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); \
|
||||
|
@ -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); \
|
||||
|
@ -274,6 +274,7 @@ _nss_netgroup_parseline (char **cursor, struct __netgrent *result,
|
||||
|
||||
return status;
|
||||
}
|
||||
libnss_files_hidden_def (_nss_netgroup_parseline)
|
||||
|
||||
|
||||
enum nss_status
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user