]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Wed, 13 Mar 2002 09:38:59 +0000 (09:38 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 13 Mar 2002 09:38:59 +0000 (09:38 +0000)
* include/locale.h (_nl_C_locobj): Declare as hidden.

* time/asctime.c (_nl_C_LC_TIME): Declare as hidden.
* time/strptime.c (_nl_C_LC_TIME): Likewise.

* include/netinet/in.h (in6addr_any_internal): Mark as hidden.

* include/sys/gmon.h: Declare _gmonparam as hidden.

* locale/lc-ctype.c (__ctype32_wctype): Declare as hidden.
(__ctype32_wctrans): Likewise.
(__ctype32_width): Likewise.

ChangeLog
include/locale.h
include/netinet/in.h
include/sys/gmon.h
locale/lc-ctype.c
time/asctime.c
time/strptime.c

index 4b6866364552f7b1fa050b4846a77c0a4502f62f..0420d39bb0c213ffb20267b4c2516bf0f999c99a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,18 @@
 2002-03-13  Ulrich Drepper  <drepper@redhat.com>
 
+       * include/locale.h (_nl_C_locobj): Declare as hidden.
+
+       * time/asctime.c (_nl_C_LC_TIME): Declare as hidden.
+       * time/strptime.c (_nl_C_LC_TIME): Likewise.
+
+       * include/netinet/in.h (in6addr_any_internal): Mark as hidden.
+
+       * include/sys/gmon.h: Declare _gmonparam as hidden.
+
+       * locale/lc-ctype.c (__ctype32_wctype): Declare as hidden.
+       (__ctype32_wctrans): Likewise.
+       (__ctype32_width): Likewise.
+
        * sysdeps/unix/sysv/linux/ttyname.c: Comment out definition and
        use of __ttyname.
 
index c821768754ee2f85922c08c876ebe4ac6bcf6cb4..a79888139b57ff0c24fae5ac1f926553c87a1fbe 100644 (file)
@@ -7,7 +7,7 @@
 extern struct loaded_l10nfile *_nl_locale_file_list[] attribute_hidden;
 
 /* Locale object for C locale.  */
-extern struct __locale_struct _nl_C_locobj;
+extern struct __locale_struct _nl_C_locobj attribute_hidden;
 
 /* Now define the internal interfaces.  */
 extern struct lconv *__localeconv (void);
index 674fc2bc8777c46265b381338697395fb7dc53e4..b85d9381817c387f512bc9936434c75092f1c8ab 100644 (file)
@@ -1,3 +1,3 @@
 #include <inet/netinet/in.h>
 
-extern const struct in6_addr in6addr_any_internal;
+extern const struct in6_addr in6addr_any_internal attribute_hidden;
index 49b37b28b32dfccca616ad20639a8b4543e034a1..55739cf00cb8991abfb571f4f42ac265adcd4b7e 100644 (file)
@@ -11,5 +11,5 @@ struct __bb;
 extern void __bb_init_func (struct __bb *bb);
 extern void __bb_exit_func (void);
 
-extern struct gmonparam _gmonparam;
+extern struct gmonparam _gmonparam attribute_hidden;
 #endif
index 3f9e108b61a0bc5024d05ee1fddb294b27f78d70..3fc23948c6d99f72ac5e4062f48a2666a5aeba31 100644 (file)
@@ -1,5 +1,5 @@
 /* Define current locale data for LC_CTYPE category.
-   Copyright (C) 1995-1999, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1995-1999, 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
@@ -43,9 +43,9 @@ _nl_postload_ctype (void)
   extern const uint32_t *__ctype32_b;
   extern const uint32_t *__ctype32_toupper;
   extern const uint32_t *__ctype32_tolower;
-  extern const char *__ctype32_wctype[12];
-  extern const char *__ctype32_wctrans[2];
-  extern const char *__ctype32_width;
+  extern const char *__ctype32_wctype[12] attribute_hidden;
+  extern const char *__ctype32_wctrans[2] attribute_hidden;
+  extern const char *__ctype32_width attribute_hidden;
 
   size_t offset, cnt;
 
index d1e6ea3170e7cb68badc6b3c1a730d4eb18f2888..b678ecbe58bf96e18550fab1c9fbb3a01ed0071b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,1993,1995,1996,1997,2000 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1993,1995-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
@@ -22,7 +22,7 @@
 #include <time.h>
 
 /* This is defined in locale/C-time.c in the GNU libc.  */
-extern const struct locale_data _nl_C_LC_TIME;
+extern const struct locale_data _nl_C_LC_TIME attribute_hidden;
 #define ab_day_name(DAY) (_nl_C_LC_TIME.values[_NL_ITEM_INDEX (ABDAY_1)+(DAY)].string)
 #define ab_month_name(MON) (_nl_C_LC_TIME.values[_NL_ITEM_INDEX (ABMON_1)+(MON)].string)
 
index e84201ea7a88b81f8847b17e076a2e366b667700..a3fd8114726383a0f60ad74cc78a931ecca3d66c 100644 (file)
@@ -133,7 +133,7 @@ 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 struct locale_data _nl_C_LC_TIME attribute_hidden;
 
 # define weekday_name (&_nl_C_LC_TIME.values[_NL_ITEM_INDEX (DAY_1)].string)
 # define ab_weekday_name \