]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Wed, 13 Mar 2002 06:33:52 +0000 (06:33 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 13 Mar 2002 06:33:52 +0000 (06:33 +0000)
* ctype/ctype-info.c: Declare _nl_C_LC_CTYPE_class,
_nl_C_LC_CTYPE_class32, _nl_C_LC_CTYPE_toupper, _nl_C_LC_CTYPE_tolower,
_nl_C_LC_CTYPE_class_upper, _nl_C_LC_CTYPE_class_lower,
_nl_C_LC_CTYPE_class_alpha, _nl_C_LC_CTYPE_class_digit,
_nl_C_LC_CTYPE_class_xdigit, _nl_C_LC_CTYPE_class_space,
_nl_C_LC_CTYPE_class_print, _nl_C_LC_CTYPE_class_graph,
_nl_C_LC_CTYPE_class_blank, _nl_C_LC_CTYPE_class_cntrl,
_nl_C_LC_CTYPE_class_punct, _nl_C_LC_CTYPE_class_alnum,
_nl_C_LC_CTYPE_map_toupper, _nl_C_LC_CTYPE_map_tolower, and
_nl_C_LC_CTYPE_width: Declare as hidden.
* include/locale.h: Declare _nl_locale_file_list.
* locale/C-address.c: Define _nl_C_LC_ADDRESS as hidden.
* locale/C-collate.c: Define _nl_C_LC_COLLATE as hidden.
* locale/C-identification.c: Define _nl_C_LC_IDENTIFICATION as hidden.
* locale/C-measurement.c: Define _nl_C_LC_MEASUREMENT as hidden.
* locale/C-messages.c: Define _nl_C_LC_MESSAGES as hidden.
* locale/C-monetary.c: Define _nl_C_LC_MONETARY as hidden.
* locale/C-name.c: Define _nl_C_LC_NAME as hidden.
* locale/C-numeric.c: Define _nl_C_LC_NUMERIC as hidden.
* locale/C-paper.c: Define _nl_C_LC_PAPER as hidden.
* locale/C-telephone.c: Define _nl_C_LC_TELEPHONE as hidden.
* locale/C-time.c: Define _nl_C_LC_TIME as hidden.
* locale/C-ctype.c: Define _nl_C_LC_CTYPE_class,
_nl_C_LC_CTYPE_class32, _nl_C_LC_CTYPE_toupper, _nl_C_LC_CTYPE_tolower,
_nl_C_LC_CTYPE_class_upper, _nl_C_LC_CTYPE_class_lower,
_nl_C_LC_CTYPE_class_alpha, _nl_C_LC_CTYPE_class_digit,
_nl_C_LC_CTYPE_class_xdigit, _nl_C_LC_CTYPE_class_space,
_nl_C_LC_CTYPE_class_print, _nl_C_LC_CTYPE_class_graph,
_nl_C_LC_CTYPE_class_blank, _nl_C_LC_CTYPE_class_cntrl,
_nl_C_LC_CTYPE_class_punct, _nl_C_LC_CTYPE_class_alnum,
_nl_C_LC_CTYPE_map_toupper, _nl_C_LC_CTYPE_map_tolower,
_nl_C_LC_CTYPE_width, and as hidden.
* locale/findlocale.c: Declare _nl_C as hidden.
* locale/newlocale.c: Likewise.
* locale/setlocale.c: Define _nl_C as hidden.  Remove declaration of
_nl_locale_file_list.
* locale/xlocale.c: Declare _nl_C_LC_CTYPE_class,
_nl_C_LC_CTYPE_toupper, and _nl_C_LC_CTYPE_tolower as hidden.
Define _nl_C_locobj as hidden.

* malloc/mtrace.c (_mtrace_file): Define as hidden.
(_mtrace_line): Likewise.

* include/time.h: Declare __mon_yday as hidden.
* time/strptime.c [_LIBC] (__mon_yday): Remove declaration.

* libio/libioP.h: Declare __libio_codecvt as hidden.
* libio/fileops.c: Declare __libio_translit as hidden.
* libio/iofwide.c: Define __libio_translit as hidden.

* login/getutent_r.c: Define __libc_utmp_lock as hidden.
* login/getutid_r.c: Declare __libc_utmp_lock as hidden.
* login/getutline_r.c: Likewise.
* login/utmpname.c: Likewise.

* login/utmp-private.h: Declare __libc_utmp_file_functions,
__libc_utmp_unknown_functions, __libc_utmp_jump_table, and
__libc_utmp_file_name as hidden.

* locale/setlocale.c (__libc_setlocale_lock): Define as hidden.
* locale/duplocale.c (__libc_setlocale_lock): Declare as hidden.
* locale/freelocale.c: Likewise.
* locale/lc-time.c: Likewise.

* sysdeps/unix/bsd/getpt.c (__libc_ptyname1): Define as hidden.
(__libc_ptyname2): Likewise.
* sysdeps/unix/sysv/linux/ptsname.c (__libc_ptyname1): Declare as
hidden.
(__libc_ptyname2): Likewise.

* sysdeps/generic/sbrk.c: Declare __libc_multiple_libcs as hidden.
* sysdeps/arm/init-first.c (__libc_multiple_libcs): Define as hidden.
* sysdeps/generic/init-first.c: Likewise.
* sysdeps/i386/init-first.c: Likewise.
* sysdeps/mach/hurd/i386/init-first.c: Likewise.
* sysdeps/mach/hurd/mips/init-first.c: Likewise.
* sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
* sysdeps/sh/init-first.c: Likewise.
* sysdeps/unix/sysv/aix/init-first.c: Likewise.
* sysdeps/unix/sysv/linux/init-first.c: Likewise.

45 files changed:
ChangeLog
ctype/ctype-info.c
include/locale.h
include/time.h
libio/fileops.c
libio/iofwide.c
libio/libioP.h
locale/C-address.c
locale/C-collate.c
locale/C-ctype.c
locale/C-identification.c
locale/C-measurement.c
locale/C-messages.c
locale/C-monetary.c
locale/C-name.c
locale/C-numeric.c
locale/C-paper.c
locale/C-telephone.c
locale/C-time.c
locale/duplocale.c
locale/findlocale.c
locale/freelocale.c
locale/lc-time.c
locale/newlocale.c
locale/setlocale.c
locale/xlocale.c
login/getutent_r.c
login/getutid_r.c
login/getutline_r.c
login/utmp-private.h
login/utmpname.c
malloc/mtrace.c
sysdeps/arm/init-first.c
sysdeps/generic/init-first.c
sysdeps/generic/sbrk.c
sysdeps/i386/init-first.c
sysdeps/mach/hurd/i386/init-first.c
sysdeps/mach/hurd/mips/init-first.c
sysdeps/mach/hurd/powerpc/init-first.c
sysdeps/sh/init-first.c
sysdeps/unix/bsd/getpt.c
sysdeps/unix/sysv/aix/init-first.c
sysdeps/unix/sysv/linux/init-first.c
sysdeps/unix/sysv/linux/ptsname.c
time/strptime.c

index 356138259b0facfb3ab483631a1c01e52dc38bf6..b1596784ee556ad48e241bc4ef6cd00dc72054b0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,86 @@
 2002-03-12  Ulrich Drepper  <drepper@redhat.com>
 
+       * ctype/ctype-info.c: Declare _nl_C_LC_CTYPE_class,
+       _nl_C_LC_CTYPE_class32, _nl_C_LC_CTYPE_toupper, _nl_C_LC_CTYPE_tolower,
+       _nl_C_LC_CTYPE_class_upper, _nl_C_LC_CTYPE_class_lower,
+       _nl_C_LC_CTYPE_class_alpha, _nl_C_LC_CTYPE_class_digit,
+       _nl_C_LC_CTYPE_class_xdigit, _nl_C_LC_CTYPE_class_space,
+       _nl_C_LC_CTYPE_class_print, _nl_C_LC_CTYPE_class_graph,
+       _nl_C_LC_CTYPE_class_blank, _nl_C_LC_CTYPE_class_cntrl,
+       _nl_C_LC_CTYPE_class_punct, _nl_C_LC_CTYPE_class_alnum,
+       _nl_C_LC_CTYPE_map_toupper, _nl_C_LC_CTYPE_map_tolower, and
+       _nl_C_LC_CTYPE_width: Declare as hidden.
+       * include/locale.h: Declare _nl_locale_file_list.
+       * locale/C-address.c: Define _nl_C_LC_ADDRESS as hidden.
+       * locale/C-collate.c: Define _nl_C_LC_COLLATE as hidden.
+       * locale/C-identification.c: Define _nl_C_LC_IDENTIFICATION as hidden.
+       * locale/C-measurement.c: Define _nl_C_LC_MEASUREMENT as hidden.
+       * locale/C-messages.c: Define _nl_C_LC_MESSAGES as hidden.
+       * locale/C-monetary.c: Define _nl_C_LC_MONETARY as hidden.
+       * locale/C-name.c: Define _nl_C_LC_NAME as hidden.
+       * locale/C-numeric.c: Define _nl_C_LC_NUMERIC as hidden.
+       * locale/C-paper.c: Define _nl_C_LC_PAPER as hidden.
+       * locale/C-telephone.c: Define _nl_C_LC_TELEPHONE as hidden.
+       * locale/C-time.c: Define _nl_C_LC_TIME as hidden.
+       * locale/C-ctype.c: Define _nl_C_LC_CTYPE_class,
+       _nl_C_LC_CTYPE_class32, _nl_C_LC_CTYPE_toupper, _nl_C_LC_CTYPE_tolower,
+       _nl_C_LC_CTYPE_class_upper, _nl_C_LC_CTYPE_class_lower,
+       _nl_C_LC_CTYPE_class_alpha, _nl_C_LC_CTYPE_class_digit,
+       _nl_C_LC_CTYPE_class_xdigit, _nl_C_LC_CTYPE_class_space,
+       _nl_C_LC_CTYPE_class_print, _nl_C_LC_CTYPE_class_graph,
+       _nl_C_LC_CTYPE_class_blank, _nl_C_LC_CTYPE_class_cntrl,
+       _nl_C_LC_CTYPE_class_punct, _nl_C_LC_CTYPE_class_alnum,
+       _nl_C_LC_CTYPE_map_toupper, _nl_C_LC_CTYPE_map_tolower,
+       _nl_C_LC_CTYPE_width, and as hidden.
+       * locale/findlocale.c: Declare _nl_C as hidden.
+       * locale/newlocale.c: Likewise.
+       * locale/setlocale.c: Define _nl_C as hidden.  Remove declaration of
+       _nl_locale_file_list.
+       * locale/xlocale.c: Declare _nl_C_LC_CTYPE_class,
+       _nl_C_LC_CTYPE_toupper, and _nl_C_LC_CTYPE_tolower as hidden.
+       Define _nl_C_locobj as hidden.
+
+       * malloc/mtrace.c (_mtrace_file): Define as hidden.
+       (_mtrace_line): Likewise.
+
+       * include/time.h: Declare __mon_yday as hidden.
+       * time/strptime.c [_LIBC] (__mon_yday): Remove declaration.
+
+       * libio/libioP.h: Declare __libio_codecvt as hidden.
+       * libio/fileops.c: Declare __libio_translit as hidden.
+       * libio/iofwide.c: Define __libio_translit as hidden.
+
+       * login/getutent_r.c: Define __libc_utmp_lock as hidden.
+       * login/getutid_r.c: Declare __libc_utmp_lock as hidden.
+       * login/getutline_r.c: Likewise.
+       * login/utmpname.c: Likewise.
+
+       * login/utmp-private.h: Declare __libc_utmp_file_functions,
+       __libc_utmp_unknown_functions, __libc_utmp_jump_table, and
+       __libc_utmp_file_name as hidden.
+
+       * locale/setlocale.c (__libc_setlocale_lock): Define as hidden.
+       * locale/duplocale.c (__libc_setlocale_lock): Declare as hidden.
+       * locale/freelocale.c: Likewise.
+       * locale/lc-time.c: Likewise.
+
+       * sysdeps/unix/bsd/getpt.c (__libc_ptyname1): Define as hidden.
+       (__libc_ptyname2): Likewise.
+       * sysdeps/unix/sysv/linux/ptsname.c (__libc_ptyname1): Declare as
+       hidden.
+       (__libc_ptyname2): Likewise.
+
+       * sysdeps/generic/sbrk.c: Declare __libc_multiple_libcs as hidden.
+       * sysdeps/arm/init-first.c (__libc_multiple_libcs): Define as hidden.
+       * sysdeps/generic/init-first.c: Likewise.
+       * sysdeps/i386/init-first.c: Likewise.
+       * sysdeps/mach/hurd/i386/init-first.c: Likewise.
+       * sysdeps/mach/hurd/mips/init-first.c: Likewise.
+       * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
+       * sysdeps/sh/init-first.c: Likewise.
+       * sysdeps/unix/sysv/aix/init-first.c: Likewise.
+       * sysdeps/unix/sysv/linux/init-first.c: Likewise.
+
        * stdio-common/itowa-digits.c (_itowa_lower_digits): Define as hidden.
        (_itowa_upper_digits): Likewise.
 
index 4ccded38edecc316548ba364acd054524894947f..d29edb7171b3e94fc685c39e3c4042cfd36f5c10 100644 (file)
 #include <locale/localeinfo.h>
 
 /* Defined in locale/C-ctype.c.  */
-extern const char _nl_C_LC_CTYPE_class[];
-extern const char _nl_C_LC_CTYPE_class32[];
-extern const char _nl_C_LC_CTYPE_toupper[];
-extern const char _nl_C_LC_CTYPE_tolower[];
-extern const char _nl_C_LC_CTYPE_class_upper[];
-extern const char _nl_C_LC_CTYPE_class_lower[];
-extern const char _nl_C_LC_CTYPE_class_alpha[];
-extern const char _nl_C_LC_CTYPE_class_digit[];
-extern const char _nl_C_LC_CTYPE_class_xdigit[];
-extern const char _nl_C_LC_CTYPE_class_space[];
-extern const char _nl_C_LC_CTYPE_class_print[];
-extern const char _nl_C_LC_CTYPE_class_graph[];
-extern const char _nl_C_LC_CTYPE_class_blank[];
-extern const char _nl_C_LC_CTYPE_class_cntrl[];
-extern const char _nl_C_LC_CTYPE_class_punct[];
-extern const char _nl_C_LC_CTYPE_class_alnum[];
-extern const char _nl_C_LC_CTYPE_map_toupper[];
-extern const char _nl_C_LC_CTYPE_map_tolower[];
-extern const char _nl_C_LC_CTYPE_width[];
+extern const char _nl_C_LC_CTYPE_class[] attribute_hidden;
+extern const char _nl_C_LC_CTYPE_class32[] attribute_hidden;
+extern const char _nl_C_LC_CTYPE_toupper[] attribute_hidden;
+extern const char _nl_C_LC_CTYPE_tolower[] attribute_hidden;
+extern const char _nl_C_LC_CTYPE_class_upper[] attribute_hidden;
+extern const char _nl_C_LC_CTYPE_class_lower[] attribute_hidden;
+extern const char _nl_C_LC_CTYPE_class_alpha[] attribute_hidden;
+extern const char _nl_C_LC_CTYPE_class_digit[] attribute_hidden;
+extern const char _nl_C_LC_CTYPE_class_xdigit[] attribute_hidden;
+extern const char _nl_C_LC_CTYPE_class_space[] attribute_hidden;
+extern const char _nl_C_LC_CTYPE_class_print[] attribute_hidden;
+extern const char _nl_C_LC_CTYPE_class_graph[] attribute_hidden;
+extern const char _nl_C_LC_CTYPE_class_blank[] attribute_hidden;
+extern const char _nl_C_LC_CTYPE_class_cntrl[] attribute_hidden;
+extern const char _nl_C_LC_CTYPE_class_punct[] attribute_hidden;
+extern const char _nl_C_LC_CTYPE_class_alnum[] attribute_hidden;
+extern const char _nl_C_LC_CTYPE_map_toupper[] attribute_hidden;
+extern const char _nl_C_LC_CTYPE_map_tolower[] attribute_hidden;
+extern const char _nl_C_LC_CTYPE_width[] attribute_hidden;
 
 #define b(t,x,o) (((const t *) _nl_C_LC_CTYPE_##x) + o)
 
index 0877a487756a2ed73f601c5413e557a47822d13b..c821768754ee2f85922c08c876ebe4ac6bcf6cb4 100644 (file)
@@ -4,6 +4,8 @@
 /* This has to be changed whenever a new locale is defined.  */
 #define __LC_LAST      13
 
+extern struct loaded_l10nfile *_nl_locale_file_list[] attribute_hidden;
+
 /* Locale object for C locale.  */
 extern struct __locale_struct _nl_C_locobj;
 
index 48017c1c4e3fc336c45f8f491716f66ae54f8db1..0806e10a3a660499728edac6be16c0f63e9da237 100644 (file)
@@ -8,7 +8,7 @@
 struct tm;
 
 /* Defined in mktime.c.  */
-extern const unsigned short int __mon_yday[2][13];
+extern const unsigned short int __mon_yday[2][13] attribute_hidden;
 
 /* Defined in localtime.c.  */
 extern struct tm _tmbuf attribute_hidden;
index eaf590908a3442274c0f627fa9f6eca4b1514628..a53f89fd7572466a0e88faec2f55f20aa0573b87 100644 (file)
@@ -80,7 +80,7 @@ extern int errno;
 
 
 #ifdef _LIBC
-extern struct __gconv_trans_data __libio_translit;
+extern struct __gconv_trans_data __libio_translit attribute_hidden;
 #endif
 
 
index dba55f59da3f10e99719915a957688187f72b7f3..225237ef6660ec30e39ca12049ff28e97db1c9d2 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2001, 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
@@ -82,7 +82,7 @@ struct _IO_codecvt __libio_codecvt =
 
 
 #ifdef _LIBC
-struct __gconv_trans_data __libio_translit =
+struct __gconv_trans_data __libio_translit attribute_hidden =
 {
   .__trans_fct = __gconv_transliterate
 };
index f3a2d97e2abba8c3aea5aee76df4d47c3702d24a..1679e1fffaf3d26393636b173ed76bcf19d83163 100644 (file)
@@ -435,7 +435,7 @@ extern struct _IO_jump_t _IO_proc_jumps attribute_hidden;
 extern struct _IO_jump_t _IO_old_proc_jumps attribute_hidden;
 extern struct _IO_jump_t _IO_str_jumps attribute_hidden;
 extern struct _IO_jump_t _IO_wstr_jumps attribute_hidden;
-extern struct _IO_codecvt __libio_codecvt;
+extern struct _IO_codecvt __libio_codecvt attribute_hidden;
 extern int _IO_do_write __P ((_IO_FILE *, const char *, _IO_size_t));
 extern int _IO_new_do_write __P ((_IO_FILE *, const char *, _IO_size_t));
 extern int _IO_old_do_write __P ((_IO_FILE *, const char *, _IO_size_t));
index eabb6fd4a42aa04f03f573f82bfe47770d77c5ba..12c9dde8d7d5ca4dcabbaac51e5b37e4b840c844 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 2000, 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -24,7 +24,7 @@
 /* This table's entries are taken from ISO 14652, the table in section
    4.10 "LC_ADDRESS".  */
 
-const struct locale_data _nl_C_LC_ADDRESS =
+const struct locale_data _nl_C_LC_ADDRESS attribute_hidden =
 {
   _nl_C_name,
   NULL, 0, 0, /* no file mapped */
index ce2ea1a541b36701fb0dcf4adb930b8aa65c84c6..0f31b08d1097b665f4be5e79f700cb3277fea863 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995,1996,1997,1999,2000,2001 Free Software Foundation, Inc.
+/* Copyright (C) 1995-1997,1999,2000,2001,2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1995.
 
@@ -98,7 +98,7 @@ static const uint32_t collseqwc[] =
   L'\xf8', L'\xf9', L'\xfa', L'\xfb', L'\xfc', L'\xfd', L'\xfe', L'\xff'
 };
 
-const struct locale_data _nl_C_LC_COLLATE =
+const struct locale_data _nl_C_LC_COLLATE attribute_hidden =
 {
   _nl_C_name,
   NULL, 0, 0, /* no file mapped */
index 35479baf2923b7a8b909029b136b6f6566ffdcf3..3dcd5fe121716f1e5e3dbe06d0f842d92dcff696 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1995-1999, 2000, 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1995.
 
@@ -30,7 +30,7 @@
    In the `_nl_C_LC_CTYPE_class' array the value for EOF (== -1)
    is set to always return 0 and the conversion arrays return EOF.  */
 
-const char _nl_C_LC_CTYPE_class[768] =
+const char _nl_C_LC_CTYPE_class[768] attribute_hidden =
   /* 0x80 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
   /* 0x86 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
   /* 0x8c */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
@@ -96,7 +96,7 @@ const char _nl_C_LC_CTYPE_class[768] =
   /* 0xf4 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
   /* 0xfa */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
 ;
-const char _nl_C_LC_CTYPE_class32[1024] =
+const char _nl_C_LC_CTYPE_class32[1024] attribute_hidden =
   /* 0x00 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
   /* 0x03 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
   /* 0x06 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
@@ -184,7 +184,7 @@ const char _nl_C_LC_CTYPE_class32[1024] =
   /* 0xfc */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
   /* 0xff */ "\000\000\000\000"
 ;
-const uint32_t _nl_C_LC_CTYPE_toupper[384] =
+const uint32_t _nl_C_LC_CTYPE_toupper[384] attribute_hidden =
 {
   /* 0x80 */ 0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87,
   /* 0x88 */ 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f,
@@ -235,7 +235,7 @@ const uint32_t _nl_C_LC_CTYPE_toupper[384] =
   /* 0xf0 */ 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7,
   /* 0xf8 */ 0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff
 };
-const uint32_t _nl_C_LC_CTYPE_tolower[384] =
+const uint32_t _nl_C_LC_CTYPE_tolower[384] attribute_hidden =
 {
   /* 0x80 */ 0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87,
   /* 0x88 */ 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f,
@@ -297,7 +297,7 @@ const uint32_t _nl_C_LC_CTYPE_tolower[384] =
       uint32_t level3[1 << p];                                                \
     }
 
-const STRUCT_CTYPE_CLASS(1, 1) _nl_C_LC_CTYPE_class_upper =
+const STRUCT_CTYPE_CLASS(1, 1) _nl_C_LC_CTYPE_class_upper attribute_hidden =
 {
   { 0x00000000, 0x00000000, 0x07fffffe, 0x00000000,
     0x00000000, 0x00000000, 0x00000000, 0x00000000
@@ -310,7 +310,7 @@ const STRUCT_CTYPE_CLASS(1, 1) _nl_C_LC_CTYPE_class_upper =
   /* 3rd-level table */
   { 0x07fffffe, 0x00000000 }
 };
-const STRUCT_CTYPE_CLASS(1, 1) _nl_C_LC_CTYPE_class_lower =
+const STRUCT_CTYPE_CLASS(1, 1) _nl_C_LC_CTYPE_class_lower attribute_hidden =
 {
   { 0x00000000, 0x00000000, 0x00000000, 0x07fffffe,
     0x00000000, 0x00000000, 0x00000000, 0x00000000
@@ -323,7 +323,7 @@ const STRUCT_CTYPE_CLASS(1, 1) _nl_C_LC_CTYPE_class_lower =
   /* 3rd-level table */
   { 0x00000000, 0x07fffffe }
 };
-const STRUCT_CTYPE_CLASS(1, 1) _nl_C_LC_CTYPE_class_alpha =
+const STRUCT_CTYPE_CLASS(1, 1) _nl_C_LC_CTYPE_class_alpha attribute_hidden =
 {
   { 0x00000000, 0x00000000, 0x07fffffe, 0x07fffffe,
     0x00000000, 0x00000000, 0x00000000, 0x00000000
@@ -336,7 +336,7 @@ const STRUCT_CTYPE_CLASS(1, 1) _nl_C_LC_CTYPE_class_alpha =
   /* 3rd-level table */
   { 0x07fffffe, 0x07fffffe }
 };
-const STRUCT_CTYPE_CLASS(1, 0) _nl_C_LC_CTYPE_class_digit =
+const STRUCT_CTYPE_CLASS(1, 0) _nl_C_LC_CTYPE_class_digit attribute_hidden =
 {
   { 0x00000000, 0x03ff0000, 0x00000000, 0x00000000,
     0x00000000, 0x00000000, 0x00000000, 0x00000000
@@ -349,7 +349,7 @@ const STRUCT_CTYPE_CLASS(1, 0) _nl_C_LC_CTYPE_class_digit =
   /* 3rd-level table */
   { 0x00000000, 0x03ff0000 }
 };
-const STRUCT_CTYPE_CLASS(2, 0) _nl_C_LC_CTYPE_class_xdigit =
+const STRUCT_CTYPE_CLASS(2, 0) _nl_C_LC_CTYPE_class_xdigit attribute_hidden =
 {
   { 0x00000000, 0x03ff0000, 0x0000007e, 0x0000007e,
     0x00000000, 0x00000000, 0x00000000, 0x00000000
@@ -362,7 +362,7 @@ const STRUCT_CTYPE_CLASS(2, 0) _nl_C_LC_CTYPE_class_xdigit =
   /* 3rd-level table */
   { 0x00000000, 0x03ff0000, 0x0000007e, 0x0000007e }
 };
-const STRUCT_CTYPE_CLASS(1, 0) _nl_C_LC_CTYPE_class_space =
+const STRUCT_CTYPE_CLASS(1, 0) _nl_C_LC_CTYPE_class_space attribute_hidden =
 {
   { 0x00003e00, 0x00000001, 0x00000000, 0x00000000,
     0x00000000, 0x00000000, 0x00000000, 0x00000000
@@ -375,7 +375,7 @@ const STRUCT_CTYPE_CLASS(1, 0) _nl_C_LC_CTYPE_class_space =
   /* 3rd-level table */
   { 0x00003e00, 0x00000001 }
 };
-const STRUCT_CTYPE_CLASS(2, 0) _nl_C_LC_CTYPE_class_print =
+const STRUCT_CTYPE_CLASS(2, 0) _nl_C_LC_CTYPE_class_print attribute_hidden =
 {
   { 0x00000000, 0xffffffff, 0xffffffff, 0x7fffffff,
     0x00000000, 0x00000000, 0x00000000, 0x00000000
@@ -388,7 +388,7 @@ const STRUCT_CTYPE_CLASS(2, 0) _nl_C_LC_CTYPE_class_print =
   /* 3rd-level table */
   { 0x00000000, 0xffffffff, 0xffffffff, 0x7fffffff }
 };
-const STRUCT_CTYPE_CLASS(2, 0) _nl_C_LC_CTYPE_class_graph =
+const STRUCT_CTYPE_CLASS(2, 0) _nl_C_LC_CTYPE_class_graph attribute_hidden =
 {
   { 0x00000000, 0xfffffffe, 0xffffffff, 0x7fffffff,
     0x00000000, 0x00000000, 0x00000000, 0x00000000
@@ -401,7 +401,7 @@ const STRUCT_CTYPE_CLASS(2, 0) _nl_C_LC_CTYPE_class_graph =
   /* 3rd-level table */
   { 0x00000000, 0xfffffffe, 0xffffffff, 0x7fffffff }
 };
-const STRUCT_CTYPE_CLASS(1, 0) _nl_C_LC_CTYPE_class_blank =
+const STRUCT_CTYPE_CLASS(1, 0) _nl_C_LC_CTYPE_class_blank attribute_hidden =
 {
   { 0x00000200, 0x00000001, 0x00000000, 0x00000000,
     0x00000000, 0x00000000, 0x00000000, 0x00000000
@@ -414,7 +414,7 @@ const STRUCT_CTYPE_CLASS(1, 0) _nl_C_LC_CTYPE_class_blank =
   /* 3rd-level table */
   { 0x00000200, 0x00000001 }
 };
-const STRUCT_CTYPE_CLASS(2, 0) _nl_C_LC_CTYPE_class_cntrl =
+const STRUCT_CTYPE_CLASS(2, 0) _nl_C_LC_CTYPE_class_cntrl attribute_hidden =
 {
   { 0xffffffff, 0x00000000, 0x00000000, 0x80000000,
     0x00000000, 0x00000000, 0x00000000, 0x00000000
@@ -427,7 +427,7 @@ const STRUCT_CTYPE_CLASS(2, 0) _nl_C_LC_CTYPE_class_cntrl =
   /* 3rd-level table */
   { 0xffffffff, 0x00000000, 0x00000000, 0x80000000 }
 };
-const STRUCT_CTYPE_CLASS(2, 0) _nl_C_LC_CTYPE_class_punct =
+const STRUCT_CTYPE_CLASS(2, 0) _nl_C_LC_CTYPE_class_punct attribute_hidden =
 {
   { 0x00000000, 0xfc00fffe, 0xf8000001, 0x78000001,
     0x00000000, 0x00000000, 0x00000000, 0x00000000
@@ -440,7 +440,7 @@ const STRUCT_CTYPE_CLASS(2, 0) _nl_C_LC_CTYPE_class_punct =
   /* 3rd-level table */
   { 0x00000000, 0xfc00fffe, 0xf8000001, 0x78000001 }
 };
-const STRUCT_CTYPE_CLASS(2, 0) _nl_C_LC_CTYPE_class_alnum =
+const STRUCT_CTYPE_CLASS(2, 0) _nl_C_LC_CTYPE_class_alnum attribute_hidden =
 {
   { 0x00000000, 0x03ff0000, 0x07fffffe, 0x07fffffe,
     0x00000000, 0x00000000, 0x00000000, 0x00000000
@@ -461,7 +461,7 @@ const struct
   uint32_t level2[4];
   int32_t level3[32];
 }
-_nl_C_LC_CTYPE_map_toupper =
+_nl_C_LC_CTYPE_map_toupper attribute_hidden =
 {
   { 7, 1, 5, 3, 31 },
   /* 1st-level table */
@@ -480,7 +480,7 @@ _nl_C_LC_CTYPE_map_toupper =
     0x00000000, 0x00000000, 0x00000000, 0x00000000
   }
 },
-_nl_C_LC_CTYPE_map_tolower =
+_nl_C_LC_CTYPE_map_tolower attribute_hidden =
 {
   { 7, 1, 5, 3, 31 },
   /* 1st-level table */
@@ -507,7 +507,7 @@ const struct
   uint32_t level2[8];
   int8_t level3[33];
 }
-_nl_C_LC_CTYPE_width =
+_nl_C_LC_CTYPE_width attribute_hidden =
 {
   { 7, 1, 4, 7, 15 },
   /* 1st-level table */
@@ -538,7 +538,7 @@ _nl_C_LC_CTYPE_width =
    NR_FIXED == _NL_ITEM_INDEX (_NL_CTYPE_EXTRA_MAP_1). */
 typedef int assertion1[1 - 2 * (NR_FIXED != _NL_ITEM_INDEX (_NL_CTYPE_EXTRA_MAP_1))];
 
-const struct locale_data _nl_C_LC_CTYPE =
+const struct locale_data _nl_C_LC_CTYPE attribute_hidden =
 {
   _nl_C_name,
   NULL, 0, 0,  /* no file mapped */
index 8af68583098a8a6844028aed7d68321ff402de22..c2fd478289129c8f57430de603f6294b8d05cb0a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -24,7 +24,7 @@
 /* This table's entries are taken from ISO 14652, the table in section
    4.12 "LC_IDENTIFICATION".  */
 
-const struct locale_data _nl_C_LC_IDENTIFICATION =
+const struct locale_data _nl_C_LC_IDENTIFICATION attribute_hidden =
 {
   _nl_C_name,
   NULL, 0, 0, /* no file mapped */
index e6473672c1f81c891230956d70b4e6819e1af876..590432146f4b89c377e27e150880dbd31feda867 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 2000, 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -24,7 +24,7 @@
 /* This table's entries are taken from ISO 14652, the table in section
    4.12 "LC_MEASUREMENT".  */
 
-const struct locale_data _nl_C_LC_MEASUREMENT =
+const struct locale_data _nl_C_LC_MEASUREMENT attribute_hidden =
 {
   _nl_C_name,
   NULL, 0, 0, /* no file mapped */
index bcb5ae376306b9f8ef64a47b6eaa82db7d2d0ffb..a118398394b6523ea8e2092f1d3dd16fd22fd703 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1995,1996,1997,2000,2001,2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995.
 
@@ -24,7 +24,7 @@
 
    The last two fields are a GNU extension.  */
 
-const struct locale_data _nl_C_LC_MESSAGES =
+const struct locale_data _nl_C_LC_MESSAGES attribute_hidden =
 {
   _nl_C_name,
   NULL, 0, 0, /* no file mapped */
index ca5e13bdec7d017b8bcd4e237942f7e0bcea73b1..0c91145f5c0530e3caa8ed4db636f01ce0c3ba78 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1995-1999, 2000, 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1995.
 
@@ -28,7 +28,7 @@ static const char not_available[] = "\377";
 static const char not_available[] = "\177";
 #endif
 
-const struct locale_data _nl_C_LC_MONETARY =
+const struct locale_data _nl_C_LC_MONETARY attribute_hidden =
 {
   _nl_C_name,
   NULL, 0, 0, /* no file mapped */
index 4286b824439a174c897f5e251260ecfd5237a3a0..8526ec076feda93e3c6d2586f4a385c02a1e7f84 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 2000, 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -24,7 +24,7 @@
 /* This table's entries are taken from ISO 14652, the table in section
    4.9 "LC_NAME".  */
 
-const struct locale_data _nl_C_LC_NAME =
+const struct locale_data _nl_C_LC_NAME attribute_hidden =
 {
   _nl_C_name,
   NULL, 0, 0, /* no file mapped */
index d1c599b774c70b22c7ce9c80cdf12be511c94d0e..3c096c64792a7833219b377bd58c4a9eb52fe9b3 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1995,1996,1997,2000,2001,2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1995.
 
@@ -21,7 +21,7 @@
 
 /* This table's entries are taken from POSIX.2 Table 2-10
    ``LC_NUMERIC Category Definition in the POSIX Locale''.  */
-const struct locale_data _nl_C_LC_NUMERIC =
+const struct locale_data _nl_C_LC_NUMERIC attribute_hidden =
 {
   _nl_C_name,
   NULL, 0, 0, /* no file mapped */
index a168084c26521279f1edf95669737814d18064d3..fb3e619ad3a213caee25c9c13a81a275f8c6f286 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -24,7 +24,7 @@
 /* This table's entries are taken from ISO 14652, the table in section
    4.8 "LC_PAPER".  */
 
-const struct locale_data _nl_C_LC_PAPER =
+const struct locale_data _nl_C_LC_PAPER attribute_hidden =
 {
   _nl_C_name,
   NULL, 0, 0, /* no file mapped */
index d7c830ce1377544f6439a00a6add10bbc2f258a9..795de3c1f3047dccad24dee70b78fff80b2cb14a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 2000, 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -24,7 +24,7 @@
 /* This table's entries are taken from ISO 14652, the table in section
    4.11 "LC_TELEPHONE".  */
 
-const struct locale_data _nl_C_LC_TELEPHONE =
+const struct locale_data _nl_C_LC_TELEPHONE attribute_hidden =
 {
   _nl_C_name,
   NULL, 0, 0, /* no file mapped */
index f230da839bd5e52329906c8d08cdbdff0241518d..9ce133a6ce1a5d78f3c442ac7d25ef1a075f93ad 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995-2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1995-2000, 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@gnu.org>, 1995.
 
@@ -23,7 +23,7 @@
    ``LC_TIME Category Definition in the POSIX Locale'',
    with additions from ISO 14652, section 4.6.  */
 
-const struct locale_data _nl_C_LC_TIME =
+const struct locale_data _nl_C_LC_TIME attribute_hidden =
 {
   _nl_C_name,
   NULL, 0, 0, /* no file mapped */
index 2fe23fc6ad248883fa9898149fcc29c60f343283..3fc46ba73807c77db54a5aafc74b52a28663c3db 100644 (file)
@@ -1,5 +1,5 @@
 /* Duplicate handle for selection of locales.
-   Copyright (C) 1997, 2000, 2001 Free Software Foundation, Inc.
+   Copyright (C) 1997, 2000, 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
@@ -26,7 +26,7 @@
 
 
 /* Lock for protecting global data.  */
-__libc_lock_define (extern , __libc_setlocale_lock)
+__libc_lock_define (extern , __libc_setlocale_lock attribute_hidden)
 
 
 __locale_t
index 59b99925bf41bd6ca285983e87b078c30510d79f..976d7c06a3e9634bb43adb29c8ae0047d602e095 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -31,7 +31,7 @@
 
 
 /* Constant data defined in setlocale.c.  */
-extern struct locale_data *const _nl_C[];
+extern struct locale_data *const _nl_C[] attribute_hidden;
 
 
 /* For each category we keep a list of records for the locale files
index 83d07b962c200bea027d6c8cd2b03e5bd94ab89c..282d83853a901a6eafcfe3b7452ea2a0a2aea128 100644 (file)
@@ -1,5 +1,5 @@
 /* Free data allocated by a call to setlocale_r
-   Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997, 2000, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -26,7 +26,7 @@
 
 
 /* Lock for protecting global data.  */
-__libc_lock_define (extern , __libc_setlocale_lock)
+__libc_lock_define (extern , __libc_setlocale_lock attribute_hidden)
 
 
 void
index 203a49be1f4b8fd1bb130263442cbe9febf83b0d..161a6a565d2b28e6af95cd2e3eacf36a8d2220ec 100644 (file)
@@ -1,5 +1,5 @@
 /* Define current locale data for LC_TIME category.
-   Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
+   Copyright (C) 1995-2001, 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
@@ -28,7 +28,7 @@
 _NL_CURRENT_DEFINE (LC_TIME);
 
 /* Some of the functions here must not be used while setlocale is called.  */
-__libc_lock_define (extern, __libc_setlocale_lock)
+__libc_lock_define (extern, __libc_setlocale_lock attribute_hidden)
 
 
 static int era_initialized;
index 4a785d0c0f807665dfaa8c788987cc72454dd577..6306ba2a8a469880270a191b0112f31c34b50b64 100644 (file)
@@ -1,5 +1,5 @@
 /* Return a reference to locale information record.
-   Copyright (C) 1996, 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
+   Copyright (C) 1996,1997,1999,2000,2001,2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -27,7 +27,7 @@
 
 
 /* Constant data defined in setlocale.c.  */
-extern struct locale_data *const _nl_C[];
+extern struct locale_data *const _nl_C[] attribute_hidden;
 
 /* Use this when we come along an error.  */
 #define ERROR_RETURN                                                         \
index 39533224342d477bce341a81ca844256279db1dc..87573024d3a40485bd1344af6be73e86f11021b2 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 95-99, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 92, 95-99, 2000, 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
@@ -55,7 +55,7 @@ struct locale_data * *const _nl_current[] =
 
 /* Array indexed by category of pointers to _nl_C_CATEGORY slots.
    Elements are zero for categories whose data is never used.  */
-struct locale_data *const _nl_C[] =
+struct locale_data *const _nl_C[] attribute_hidden =
   {
 #define DEFINE_CATEGORY(category, category_name, items, a) \
     [category] = &_nl_C_##category,
@@ -118,7 +118,7 @@ static const char *_nl_current_names[] =
 
 
 /* Lock for protecting global data.  */
-__libc_lock_define_initialized (, __libc_setlocale_lock)
+__libc_lock_define_initialized (, __libc_setlocale_lock attribute_hidden)
 
 /* Defined in loadmsgcat.c.  */
 extern int _nl_msg_cat_cntr;
@@ -430,8 +430,6 @@ setlocale (int category, const char *locale)
     }
 }
 
-extern struct loaded_l10nfile *_nl_locale_file_list[];
-
 static void __attribute__ ((unused))
 free_mem (void)
 {
index dd1dbbf5085ffb7633acdcdc81f3470283fccd78..79ec5484736dc0545ba96accd1adc8615c7ef0dc 100644 (file)
@@ -1,5 +1,5 @@
 /* C locale object.
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 2001.
 
@@ -27,12 +27,12 @@ extern struct locale_data _nl_C_##category;
 #undef DEFINE_CATEGORY
 
 /* Defined in locale/C-ctype.c.  */
-extern const char _nl_C_LC_CTYPE_class[];
-extern const char _nl_C_LC_CTYPE_toupper[];
-extern const char _nl_C_LC_CTYPE_tolower[];
+extern const char _nl_C_LC_CTYPE_class[] attribute_hidden;
+extern const char _nl_C_LC_CTYPE_toupper[] attribute_hidden;
+extern const char _nl_C_LC_CTYPE_tolower[] attribute_hidden;
 
 
-struct __locale_struct _nl_C_locobj =
+struct __locale_struct _nl_C_locobj attribute_hidden =
   {
     .__locales =
     {
index 38626c1c206c0fe934e1183ea8302ae358656f80..e96945e92c756210c4041ef17f43f68e1ce2470c 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996,1997,1998,2000,2001 Free Software Foundation, Inc.
+/* Copyright (C) 1996,1997,1998,2000,2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>
    and Paul Janzen <pcj@primenet.com>, 1996.
@@ -51,7 +51,7 @@ struct utfuncs __libc_utmp_unknown_functions =
 struct utfuncs *__libc_utmp_jump_table = &__libc_utmp_unknown_functions;
 
 /* We need to protect the opening of the file.  */
-__libc_lock_define_initialized (, __libc_utmp_lock)
+__libc_lock_define_initialized (, __libc_utmp_lock attribute_hidden)
 
 
 static int
index 144173a2e88a5e7cf9c212aff80d2ef686e5d914..03b6d2d04b7117b3e480bf33102ca044fd7ba2f7 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>
    and Paul Janzen <pcj@primenet.com>, 1996.
@@ -27,7 +27,7 @@
 
 
 /* We have to use the lock in getutent_r.c.  */
-__libc_lock_define (extern, __libc_utmp_lock)
+__libc_lock_define (extern, __libc_utmp_lock attribute_hidden)
 
 /* The jump table is also in getutent_r.c.  */
 extern struct utfuncs *__libc_utmp_jump_table;
index 2e57b288b1ba3411039d6510c8ba02729828add0..35c510b7ac232af4675c69088a058817513f218e 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>
    and Paul Janzen <pcj@primenet.com>, 1996.
@@ -26,7 +26,7 @@
 
 
 /* We have to use the lock in getutent_r.c.  */
-__libc_lock_define (extern, __libc_utmp_lock)
+__libc_lock_define (extern, __libc_utmp_lock attribute_hidden)
 
 /* The jump table is also in getutent_r.c.  */
 extern struct utfuncs *__libc_utmp_jump_table;
index a74fae0efa990eb8985fed7ffa7d305c8a3f2c4e..14b52b08c8777ca666be5abc2e7745e4e4a00091 100644 (file)
@@ -1,5 +1,5 @@
 /* Internal definitions and declarations for UTMP functions.
-   Copyright (C) 1996, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1996, 2000, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>
    and Paul Janzen <pcj@primenet.com>, 1996.
@@ -37,13 +37,13 @@ struct utfuncs
 };
 
 /* The tables from the services.  */
-extern struct utfuncs __libc_utmp_file_functions;
-extern struct utfuncs __libc_utmp_unknown_functions;
+extern struct utfuncs __libc_utmp_file_functions attribute_hidden;
+extern struct utfuncs __libc_utmp_unknown_functions attribute_hidden;
 
 /* Currently selected backend.  */
-extern struct utfuncs *__libc_utmp_jump_table;
+extern struct utfuncs *__libc_utmp_jump_table attribute_hidden;
 
 /* Current file name.  */
-extern const char *__libc_utmp_file_name;
+extern const char *__libc_utmp_file_name attribute_hidden;
 
 #endif /* utmp-private.h */
index daa3c23b3b84f7d636fb11c7c0890eb35cc009e8..875dbd59732aeb0c5ea28a61a7c2244ded28b8f4 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Mark Kettenis <kettenis@phys.uva.nl>, 1997.
 
@@ -32,7 +32,7 @@ static const char default_file_name[] = _PATH_UTMP;
 const char *__libc_utmp_file_name = (const char *) default_file_name;
 
 /* We have to use the lock in getutent_r.c.  */
-__libc_lock_define (extern, __libc_utmp_lock)
+__libc_lock_define (extern, __libc_utmp_lock attribute_hidden)
 
 
 int
index acee3c411b03f350292ad204730801e02e0d659f..5c82e1d1e4f60579f0bc55a3b07f7e15438f48cd 100644 (file)
 # define setvbuf(s, b, f, l) INTUSE(_IO_setvbuf) (s, b, f, l)
 #endif
 
+#ifndef attribute_hidden
+# define attribute_hidden
+#endif
+
 #define TRACE_BUFFER_SIZE 512
 
 static FILE *mallstream;
@@ -57,8 +61,8 @@ __ptr_t mallwatch;
 
 /* File name and line number information, for callers that had
    the foresight to call through a macro.  */
-char *_mtrace_file;
-int _mtrace_line;
+char *_mtrace_file attribute_hidden;
+int _mtrace_line attribute_hidden;
 
 /* Old hook values.  */
 static void (*tr_old_free_hook) __P ((__ptr_t ptr, const __ptr_t));
index 6856314c83c23eef5070958818d90f647e96f87c..652cf95d14aa0284041acee903dacd8c941149df 100644 (file)
@@ -1,5 +1,5 @@
 /* Initialization code run first thing by the ELF startup code.  For ARM.
-   Copyright (C) 1995, 1996, 1997, 1998, 2001 Free Software Foundation, Inc.
+   Copyright (C) 1995,1996,1997,1998,2001,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
@@ -25,7 +25,7 @@ extern void __getopt_clean_environment (char **);
 #endif
 extern void __libc_global_ctors (void);
 
-int __libc_multiple_libcs = 1;
+int __libc_multiple_libcs attribute_hidden = 1;
 
 static void
 init (int *data)
index 5ae1e157f7bd3d21bf95871f01b508ef7a938159..61e974fdf69e3c2bcf92cf93d5a7d2118393466c 100644 (file)
@@ -1,5 +1,5 @@
 /* Initialization code run first thing by the ELF startup code.  Stub version.
-   Copyright (C) 1995, 1997, 1998, 2001 Free Software Foundation, Inc.
+   Copyright (C) 1995, 1997, 1998, 2001, 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
@@ -20,7 +20,7 @@
 #include <unistd.h>
 #include <sys/types.h>
 
-int __libc_multiple_libcs = 1;
+int __libc_multiple_libcs attribute_hidden = 1;
 
 extern void __libc_init (int, char **, char **);
 #ifdef USE_NONOPTION_FLAGS
index 7e19f1df1adc61b0a928b02bc24f4e5497fb3e96..3e9ad54333cd87eefadd35c1f9d3d675d98587e1 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1995,1996,1997,2000,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
@@ -23,7 +23,8 @@
 extern void *__curbrk;
 extern int __brk (void *addr);
 
-extern int __libc_multiple_libcs;      /* Defined in init-first.c.  */
+/* Defined in init-first.c.  */
+extern int __libc_multiple_libcs attribute_hidden;
 
 /* Extend the process's data space by INCREMENT.
    If INCREMENT is negative, shrink data space by - INCREMENT.
index 16f5a7cccae02962c86297728eba8a739d651746..c6355a8b7bb3087b43b86180f8f56fc47051090e 100644 (file)
@@ -1,5 +1,5 @@
 /* Initialization code run first thing by the ELF startup code.  For i386/Unix.
-   Copyright (C) 1995, 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
+   Copyright (C) 1995,1996,1997,2000,2001,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
@@ -25,7 +25,7 @@ extern void __getopt_clean_environment (char **);
 #endif
 extern void __libc_global_ctors (void);
 
-int __libc_multiple_libcs = 1;
+int __libc_multiple_libcs attribute_hidden = 1;
 
 static void
 init (int *data)
index 56db8378428ccb1748cd3e244b503453df01f40b..787a750045ae995a329f939382c8e98598aadeaa 100644 (file)
@@ -45,7 +45,7 @@ unsigned long int __hurd_threadvar_stack_mask;
 #ifndef SHARED
 int __libc_enable_secure;
 #endif
-int __libc_multiple_libcs = 1;
+int __libc_multiple_libcs attribute_hidden = 1;
 
 extern int __libc_argc attribute_hidden;
 extern char **__libc_argv attribute_hidden;
index dbcad4b481b458b7c784ac00fa3ca06d36da3552..5adba3be174d13c376f62fe5c7e727f8584555c4 100644 (file)
@@ -40,7 +40,7 @@ unsigned int __hurd_threadvar_max;
 unsigned long int __hurd_threadvar_stack_offset;
 unsigned long int __hurd_threadvar_stack_mask;
 
-int __libc_multiple_libcs = 1;
+int __libc_multiple_libcs attribute_hidden = 1;
 
 int __libc_argc attribute_hidden;
 char **__libc_argv attribute_hidden;
index 80aa61524e19879cbe8fa7221b4d388eb5f55d2e..d683a79e30335f9190161a2ce8a619a2c894d575 100644 (file)
@@ -45,7 +45,7 @@ unsigned long int __hurd_threadvar_stack_mask;
 #ifndef SHARED
 int __libc_enable_secure;
 #endif
-int __libc_multiple_libcs = 1;
+int __libc_multiple_libcs attribute_hidden = 1;
 
 extern int __libc_argc attribute_hidden;
 extern char **__libc_argv attribute_hidden;
index 97f7352091d8d4ab798dee7d6e6363e583c3712a..d816625ef43269092abc1e59e7e07e9de1b492ad 100644 (file)
@@ -1,5 +1,5 @@
 /* Initialization code run first thing by the ELF startup code.  For SH.
-   Copyright (C) 1995,1996,1997,1998,2000,2001 Free Software Foundation, Inc.
+   Copyright (C) 1995-1998, 2000, 2001, 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
@@ -25,7 +25,7 @@ extern void __getopt_clean_environment (char **);
 #endif
 extern void __libc_global_ctors (void);
 
-int __libc_multiple_libcs = 1;
+int __libc_multiple_libcs attribute_hidden = 1;
 
 static void
 init (int *data)
index 10676811c3b2d10cd9398aa5bb06c5f8895588ce..f4a6b17f004f8b1c791d80ec175aaa73734b39e2 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Zack Weinberg <zack@rabi.phys.columbia.edu>, 1998.
 
 #ifndef PTYNAME1
 #define PTYNAME1 "pqrsPQRS"
 #endif
-const char __libc_ptyname1[] = PTYNAME1;
+const char __libc_ptyname1[] attribute_hidden = PTYNAME1;
 
 /* Letters indicating the position within a series.  */
 #ifndef PTYNAME2
 #define PTYNAME2 "0123456789abcdefghijklmnopqrstuv";
 #endif
-const char __libc_ptyname2[] = PTYNAME2;
+const char __libc_ptyname2[] attribute_hidden = PTYNAME2;
 
 
 /* Open a master pseudo terminal and return its file descriptor.  */
index 7b4773b633a4c12cdbc4834b26f5643590242a9e..4c6768b8adfd0d6ef39d7bccdfa926d113d9bf2a 100644 (file)
@@ -42,7 +42,7 @@ weak_extern (_dl_starting_up)
 
 /* Set nonzero if we have to be prepared for more then one libc being
    used in the process.  Safe assumption if initializer never runs.  */
-int __libc_multiple_libcs = 1;
+int __libc_multiple_libcs attribute_hidden = 1;
 
 /* Remember the command line argument and enviroment contents for
    later calls of initializers for dynamic libraries.  */
index 9dbf2062ab8a6e188330adfc81fc5b7280cc042a..bc501c053d453cbabe370b51753987cb18fbfffb 100644 (file)
@@ -41,7 +41,7 @@ weak_extern (_dl_starting_up)
 
 /* Set nonzero if we have to be prepared for more then one libc being
    used in the process.  Safe assumption if initializer never runs.  */
-int __libc_multiple_libcs = 1;
+int __libc_multiple_libcs attribute_hidden = 1;
 
 /* Remember the command line argument and enviroment contents for
    later calls of initializers for dynamic libraries.  */
index ec578b3c9564e1afa476dcf167b2081418e3a421..084e57326072f502caed42cdde6f4169cd1c004a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 2000, 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Zack Weinberg <zack@rabi.phys.columbia.edu>, 1998.
 
@@ -50,8 +50,8 @@
 #define _PATH_DEVPTS "/dev/pts/"
 
 /* The are declared in getpt.c.  */
-extern const char __libc_ptyname1[];
-extern const char __libc_ptyname2[];
+extern const char __libc_ptyname1[] attribute_hidden;
+extern const char __libc_ptyname2[] attribute_hidden;
 
 /* Static buffer for `ptsname'.  */
 static char buffer[sizeof (_PATH_DEVPTS) + 20];
index 1f440a5d2fb34c33413a1278fdf7929c40c4db30..e84201ea7a88b81f8847b17e076a2e366b667700 100644 (file)
@@ -1,5 +1,5 @@
 /* Convert a string representation of time to a time value.
-   Copyright (C) 1996-2000, 2001 Free Software Foundation, Inc.
+   Copyright (C) 1996-2000, 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -134,7 +134,6 @@ localtime_r (t, tp)
 #ifdef _LIBC
 /* This is defined in locale/C-time.c in the GNU libc.  */
 extern const struct locale_data _nl_C_LC_TIME;
-extern const unsigned short int __mon_yday[2][13];
 
 # define weekday_name (&_nl_C_LC_TIME.values[_NL_ITEM_INDEX (DAY_1)].string)
 # define ab_weekday_name \