* include/rpc/pmap_prot.h: Mark all functions as hidden.

* nscd/nscd_initgroups.c: Mark __gr_map_handle as hidden.
	* nscd/nscd_getgr_r.c: Likewise.

	* include/rpc/pmap_rmt.h: Mark all functions as hidden.

	* nscd/nscd_getai.c (__hst_map_handle): Mark as hidden.
	* nscd/nscd_gethst_r.c (__hst_map_handle): Likewise.

	* stdlib/longlong.h (__clz_tab): Mark as hidden.

	* iconv/gconv_int.h: Mark __gconv_lock as hidden.
This commit is contained in:
Ulrich Drepper 2006-05-15 20:46:12 +00:00
parent 8263ed6242
commit 6f8a7dff35
12 changed files with 40 additions and 26 deletions

View File

@ -1,5 +1,19 @@
2006-05-15 Ulrich Drepper <drepper@redhat.com>
* include/rpc/pmap_prot.h: Mark all functions as hidden.
* nscd/nscd_initgroups.c: Mark __gr_map_handle as hidden.
* nscd/nscd_getgr_r.c: Likewise.
* include/rpc/pmap_rmt.h: Mark all functions as hidden.
* nscd/nscd_getai.c (__hst_map_handle): Mark as hidden.
* nscd/nscd_gethst_r.c (__hst_map_handle): Likewise.
* stdlib/longlong.h (__clz_tab): Mark as hidden.
* iconv/gconv_int.h: Mark __gconv_lock as hidden.
* include/rpc/key_prot.h: Maek all _internal functions as hidden.
* include/rpc/auth.h: Mark xdr_des_block_internal and
@ -10,8 +24,6 @@
* include/rpc/xdr.h: Make all _internal functions as hidden.
* sunrpc/pmap_rmt.c: Declare xdr_rmtcall_args_internal as hidden.
* misc/getusershell.c (okshells): Don't use static initializers,
do it dynamically.

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1997-2002, 2003, 2004, 2005 Free Software Foundation, Inc.
/* Copyright (C) 1997-2005, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@ -128,7 +128,7 @@ extern struct gconv_module *__gconv_modules_db attribute_hidden;
extern const char *__gconv_path_envvar attribute_hidden;
/* Lock for the conversion database content. */
__libc_lock_define (extern, __gconv_lock);
__libc_lock_define (extern, __gconv_lock attribute_hidden)
/* The gconv functions expects the name to be in upper case and complete,

View File

@ -1,5 +1,7 @@
#include <sunrpc/rpc/pmap_prot.h>
extern bool_t xdr_pmap_internal (XDR *__xdrs, struct pmap *__regs);
extern bool_t xdr_pmaplist_internal (XDR *__xdrs, struct pmaplist **__rp);
extern bool_t xdr_pmap_internal (XDR *__xdrs, struct pmap *__regs)
attribute_hidden;
extern bool_t xdr_pmaplist_internal (XDR *__xdrs, struct pmaplist **__rp)
attribute_hidden;

View File

@ -1,5 +1,7 @@
#include <sunrpc/rpc/pmap_rmt.h>
extern bool_t xdr_rmtcall_args_internal (XDR *__xdrs,
struct rmtcallargs *__crp);
extern bool_t xdr_rmtcallres_internal (XDR *__xdrs, struct rmtcallres *__crp);
struct rmtcallargs *__crp)
attribute_hidden;
extern bool_t xdr_rmtcallres_internal (XDR *__xdrs, struct rmtcallres *__crp)
attribute_hidden;

View File

@ -1,3 +1,7 @@
2006-05-15 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/fork.h: Makr __fork_handlers as hidden.
2006-05-11 Ulrich Drepper <drepper@redhat.com>
* pthread_key_create.c (__pthread_key_create): Do away with

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
/* Copyright (C) 2002, 2003, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@ -41,7 +41,7 @@ struct fork_handler
};
/* The single linked list of all currently registered for handlers. */
extern struct fork_handler *__fork_handlers;
extern struct fork_handler *__fork_handlers attribute_hidden;
/* Function to call to unregister fork handlers. */

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2004, 2005 Free Software Foundation, Inc.
/* Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2004.
@ -34,7 +34,7 @@ extern int __nss_not_use_nscd_hosts;
/* We use the mapping from nscd_gethst. */
libc_locked_map_ptr (extern, __hst_map_handle);
libc_locked_map_ptr (extern, __hst_map_handle) attribute_hidden;
int

View File

@ -1,5 +1,4 @@
/* Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004, 2005
Free Software Foundation, Inc.
/* Copyright (C) 1998-2000, 2002-2005, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Thorsten Kukuk <kukuk@uni-paderborn.de>, 1998.
@ -67,7 +66,7 @@ __nscd_getgrgid_r (gid_t gid, struct group *resultbuf, char *buffer,
}
libc_locked_map_ptr (,__gr_map_handle);
libc_locked_map_ptr (,__gr_map_handle) attribute_hidden;
/* Note that we only free the structure if necessary. The memory
mapping is not removed since it is not visible to the malloc
handling. */

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1998-2002, 2003, 2004, 2005 Free Software Foundation, Inc.
/* Copyright (C) 1998-2005, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
@ -87,7 +87,7 @@ __nscd_gethostbyaddr_r (const void *addr, socklen_t len, int type,
}
libc_locked_map_ptr (, __hst_map_handle);
libc_locked_map_ptr (, __hst_map_handle) attribute_hidden;
/* Note that we only free the structure if necessary. The memory
mapping is not removed since it is not visible to the malloc
handling. */

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2004, 2005 Free Software Foundation, Inc.
/* Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2004.
@ -30,7 +30,7 @@
/* We use the same mapping as in nscd_getgr. */
libc_locked_map_ptr (extern, __gr_map_handle);
libc_locked_map_ptr (extern, __gr_map_handle) attribute_hidden;
int

View File

@ -1,7 +1,6 @@
/* longlong.h -- definitions for mixed size 32/64 bit arithmetic.
Copyright (C) 1991, 1992, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
2002, 2003, 2004, 2005
Free Software Foundation, Inc.
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
@ -46,7 +45,7 @@
#define UDWtype UDItype
#endif
extern const UQItype __clz_tab[256];
extern const UQItype __clz_tab[256] attribute_hidden;
/* Define auxiliary asm macros.

View File

@ -62,10 +62,6 @@ extern u_long _create_xid (void);
static const struct timeval timeout = {3, 0};
bool_t xdr_rmtcall_args_internal (XDR *xdrs, struct rmtcallargs *cap)
attribute_hidden;
/*
* pmapper remote-call-service interface.
* This routine is used to call the pmapper remote call service