aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-03-11 10:36:30 +0000
committerUlrich Drepper <drepper@redhat.com>2002-03-11 10:36:30 +0000
commit20febd6a63d1fbfbcb062760b142f67f33a94e91 (patch)
tree0cf77cff89947deec5d65cb679b47ec5a76b06c2
parent0e47dbd052f7bbc28e9854d4cb1fdd4f5f53d8d0 (diff)
downloadglibc-20febd6a63d1fbfbcb062760b142f67f33a94e91.zip
glibc-20febd6a63d1fbfbcb062760b142f67f33a94e91.tar.gz
glibc-20febd6a63d1fbfbcb062760b142f67f33a94e91.tar.bz2
Update.
* wctype/wcfuncs.c (__ctype32_wctype): Declare as hidden. (__ctype32_wctrans): Likewise. * wcsmbs/wcwidth.h (__ctype32_width): Declare as hidden. * ctype/ctype-info.c (__ctype32_wctype): Add attribute_hidden. (__ctype32_wctrans): Likewise. (__ctype32_width): Likewise.
-rw-r--r--ChangeLog7
-rw-r--r--ctype/ctype-info.c8
-rw-r--r--wcsmbs/wcwidth.h4
-rw-r--r--wctype/wcfuncs.c6
4 files changed, 16 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 320bb87..21893d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2002-03-11 Ulrich Drepper <drepper@redhat.com>
+ * wctype/wcfuncs.c (__ctype32_wctype): Declare as hidden.
+ (__ctype32_wctrans): Likewise.
+ * wcsmbs/wcwidth.h (__ctype32_width): Declare as hidden.
+ * ctype/ctype-info.c (__ctype32_wctype): Add attribute_hidden.
+ (__ctype32_wctrans): Likewise.
+ (__ctype32_width): Likewise.
+
* gmon/Makefile (elide-routines.os): Add bb_init_func and bb_exit_func.
They were never exported anyway.
diff --git a/ctype/ctype-info.c b/ctype/ctype-info.c
index f683ce3..4ccded3 100644
--- a/ctype/ctype-info.c
+++ b/ctype/ctype-info.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 95, 96, 97, 99, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,95,96,97,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
@@ -48,7 +48,7 @@ const __int32_t *__ctype_tolower = b (__int32_t, tolower, 128);
const __int32_t *__ctype_toupper = b (__int32_t, toupper, 128);
const __uint32_t *__ctype32_tolower = b (__uint32_t, tolower, 128);
const __uint32_t *__ctype32_toupper = b (__uint32_t, toupper, 128);
-const char *__ctype32_wctype[12] =
+const char *__ctype32_wctype[12] attribute_hidden =
{
b(char, class_upper, 32),
b(char, class_lower, 32),
@@ -63,9 +63,9 @@ const char *__ctype32_wctype[12] =
b(char, class_punct, 32),
b(char, class_alnum, 32)
};
-const char *__ctype32_wctrans[2] =
+const char *__ctype32_wctrans[2] attribute_hidden =
{
b(char, map_toupper, 0),
b(char, map_tolower, 0)
};
-const char *__ctype32_width = b (char, width, 0);
+const char *__ctype32_width attribute_hidden = b (char, width, 0);
diff --git a/wcsmbs/wcwidth.h b/wcsmbs/wcwidth.h
index 92ee3d6..e32f02d 100644
--- a/wcsmbs/wcwidth.h
+++ b/wcsmbs/wcwidth.h
@@ -1,5 +1,5 @@
/* Internal header containing implementation of wcwidth() function.
- 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@gnu.ai.mit.edu>, 1996.
@@ -23,7 +23,7 @@
#include "../wctype/wchar-lookup.h"
/* Table containing width information. */
-extern const char *__ctype32_width;
+extern const char *__ctype32_width attribute_hidden;
static __inline int
internal_wcwidth (wchar_t wc)
diff --git a/wctype/wcfuncs.c b/wctype/wcfuncs.c
index cb79e3b..b76423e 100644
--- a/wctype/wcfuncs.c
+++ b/wctype/wcfuncs.c
@@ -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.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,8 +22,8 @@
#include "wchar-lookup.h"
/* These are not exported. */
-extern const char *__ctype32_wctype[12];
-extern const char *__ctype32_wctrans[2];
+extern const char *__ctype32_wctype[12] attribute_hidden;
+extern const char *__ctype32_wctrans[2] attribute_hidden;
/* Provide real-function versions of all the wctype macros. */