summary refs log tree commit diff
path: root/stdio-common
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-03-13 08:59:47 +0000
committerUlrich Drepper <drepper@redhat.com>2002-03-13 08:59:47 +0000
commit6455d2556c3fdedb3dac163c2b0a11192aaf18d6 (patch)
tree346b418b75772613f7b09e9175c4298c9e32de73 /stdio-common
parentab26a24a1721e03c3fc43b9ee437b0735b875c45 (diff)
downloadglibc-6455d2556c3fdedb3dac163c2b0a11192aaf18d6.tar.gz
glibc-6455d2556c3fdedb3dac163c2b0a11192aaf18d6.tar.xz
glibc-6455d2556c3fdedb3dac163c2b0a11192aaf18d6.zip
Update.
2002-03-13  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/ttyname.c: Comment out definition and
	use of __ttyname.

	* posix/regcomp.c (__re_error_msgid): Renamed from re_error_msgid.
	Define as hidden.
	(__re_error_msgid_idx): Renamed from re_error_msgid_idx.  Define as
	hidden.  Change all users of these variables.

	* posix/regex_internal.h (__re_error_msgid): Renamed from
	re_error_msgid.  Declare as hidden.
	(__re_error_msgid_idx): Renamed from re_error_msgid_idx.  Declare as
	hidden.

	* stdio-common/reg-printf.c (__printf_arginfo_table): Define as hidden.
	(__printf_function_table): Likewise.
	* stdio-common/printf-parse.h (__printf_arginfo_table): Declare as
	hidden.
	(__printf_function_table): Likewise.

	* nscd/nscd_proto.h: Declare __nss_not_use_nscd_passwd,
	__nss_not_use_nscd_group, and __nss_not_use_nscd_hosts as hidden.

	* nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Define as hidden.
	* nss/nsswitch.c: Declare _nss_*_database as hidden.

	* stdlib/wctomb.c (__no_r_state): Declare as hidden.
	* stdlib/mbtowc.c (__no_r_state): Define as hidden.
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/printf-parse.h6
-rw-r--r--stdio-common/reg-printf.c7
2 files changed, 7 insertions, 6 deletions
diff --git a/stdio-common/printf-parse.h b/stdio-common/printf-parse.h
index 4f8007121e..78811701bb 100644
--- a/stdio-common/printf-parse.h
+++ b/stdio-common/printf-parse.h
@@ -1,5 +1,5 @@
 /* Internal header for parsing printf format strings.
-   Copyright (C) 1995-1999, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1995-1999, 2000, 2002 Free Software Foundation, Inc.
    This file is part of th GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -117,8 +117,8 @@ find_spec (const UCHAR_T *format, mbstate_t *ps)
 
 
 /* These are defined in reg-printf.c.  */
-extern printf_arginfo_function *__printf_arginfo_table[];
-extern printf_function **__printf_function_table;
+extern printf_arginfo_function *__printf_arginfo_table[] attribute_hidden;
+extern printf_function **__printf_function_table attribute_hidden;
 
 
 /* FORMAT must point to a '%' at the beginning of a spec.  Fills in *SPEC
diff --git a/stdio-common/reg-printf.c b/stdio-common/reg-printf.c
index f4ddf21f42..fe49633932 100644
--- a/stdio-common/reg-printf.c
+++ b/stdio-common/reg-printf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1996, 1997, 2002 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
@@ -22,9 +22,10 @@
 
 /* Array of functions indexed by format character.  */
 static printf_function *printf_funcs[UCHAR_MAX + 1];
-printf_arginfo_function *__printf_arginfo_table[UCHAR_MAX + 1];
+printf_arginfo_function *__printf_arginfo_table[UCHAR_MAX + 1]
+     attribute_hidden;
 
-printf_function **__printf_function_table;
+printf_function **__printf_function_table attribute_hidden;
 
 int __register_printf_function __P ((int, printf_function,
                                      printf_arginfo_function));