aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-03-13 09:38:59 +0000
committerUlrich Drepper <drepper@redhat.com>2002-03-13 09:38:59 +0000
commit169ec09e54c032b172b1cc691196e044016eb091 (patch)
tree79d4f8003d5ae214333ed7f6d9b9b919170e049e
parent6455d2556c3fdedb3dac163c2b0a11192aaf18d6 (diff)
downloadglibc-169ec09e54c032b172b1cc691196e044016eb091.zip
glibc-169ec09e54c032b172b1cc691196e044016eb091.tar.gz
glibc-169ec09e54c032b172b1cc691196e044016eb091.tar.bz2
Update.
* 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.
-rw-r--r--ChangeLog13
-rw-r--r--include/locale.h2
-rw-r--r--include/netinet/in.h2
-rw-r--r--include/sys/gmon.h2
-rw-r--r--locale/lc-ctype.c8
-rw-r--r--time/asctime.c4
-rw-r--r--time/strptime.c2
7 files changed, 23 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 4b68663..0420d39 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 c821768..a798881 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 674fc2b..b85d938 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 49b37b2..55739cf 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 3f9e108..3fc2394 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 d1e6ea3..b678ecb 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 e84201e..a3fd811 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 \