diff options
-rw-r--r-- | ChangeLog | 13 | ||||
-rw-r--r-- | include/locale.h | 2 | ||||
-rw-r--r-- | include/netinet/in.h | 2 | ||||
-rw-r--r-- | include/sys/gmon.h | 2 | ||||
-rw-r--r-- | locale/lc-ctype.c | 8 | ||||
-rw-r--r-- | time/asctime.c | 4 | ||||
-rw-r--r-- | time/strptime.c | 2 |
7 files changed, 23 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog index 4b68663645..0420d39bb0 100644 --- 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. diff --git a/include/locale.h b/include/locale.h index c821768754..a79888139b 100644 --- a/include/locale.h +++ b/include/locale.h @@ -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); diff --git a/include/netinet/in.h b/include/netinet/in.h index 674fc2bc87..b85d938181 100644 --- a/include/netinet/in.h +++ b/include/netinet/in.h @@ -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; diff --git a/include/sys/gmon.h b/include/sys/gmon.h index 49b37b28b3..55739cf00c 100644 --- a/include/sys/gmon.h +++ b/include/sys/gmon.h @@ -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 diff --git a/locale/lc-ctype.c b/locale/lc-ctype.c index 3f9e108b61..3fc23948c6 100644 --- a/locale/lc-ctype.c +++ b/locale/lc-ctype.c @@ -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; diff --git a/time/asctime.c b/time/asctime.c index d1e6ea3170..b678ecbe58 100644 --- a/time/asctime.c +++ b/time/asctime.c @@ -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) diff --git a/time/strptime.c b/time/strptime.c index e84201ea7a..a3fd811472 100644 --- a/time/strptime.c +++ b/time/strptime.c @@ -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 \ |