mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
* include/rpc/auth.h: Use libc_hidden_proto for _null_auth.
* sunrpc/rpc_common.c: Add libc_hidden_def for _null_auth. Also move _null_auth to .rodata.
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
2009-02-05 Ulrich Drepper <drepper@redhat.com>
|
2009-02-05 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* include/rpc/auth.h: Use libc_hidden_proto for _null_auth.
|
||||||
|
* sunrpc/rpc_common.c: Add libc_hidden_def for _null_auth. Also
|
||||||
|
move _null_auth to .rodata.
|
||||||
|
|
||||||
* time/tzset.c (__tzset_parse_tz): DST offset must also allow hour
|
* time/tzset.c (__tzset_parse_tz): DST offset must also allow hour
|
||||||
value of 24.
|
value of 24.
|
||||||
|
|
||||||
|
@@ -39,4 +39,6 @@ extern AUTH *authdes_pk_create_internal (const char *, netobj *, u_int,
|
|||||||
libc_hidden_proto (key_encryptsession_pk)
|
libc_hidden_proto (key_encryptsession_pk)
|
||||||
libc_hidden_proto (key_decryptsession_pk)
|
libc_hidden_proto (key_decryptsession_pk)
|
||||||
|
|
||||||
|
libc_hidden_proto (_null_auth)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -39,7 +39,11 @@
|
|||||||
* This file should only contain common data (global data) that is exported
|
* This file should only contain common data (global data) that is exported
|
||||||
* by public interfaces
|
* by public interfaces
|
||||||
*/
|
*/
|
||||||
struct opaque_auth _null_auth;
|
/* We are very tricky here. We want to have _null_auth in a read-only
|
||||||
|
section but we cannot add const to the type because this isn't how
|
||||||
|
the variable is declared. So we use the section attribute. */
|
||||||
|
struct opaque_auth _null_auth __attribute__ ((nocommon, section (".rodata")));
|
||||||
|
libc_hidden_def (_null_auth)
|
||||||
fd_set svc_fdset;
|
fd_set svc_fdset;
|
||||||
struct rpc_createerr rpc_createerr;
|
struct rpc_createerr rpc_createerr;
|
||||||
struct pollfd *svc_pollfd;
|
struct pollfd *svc_pollfd;
|
||||||
|
Reference in New Issue
Block a user