* 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.
This commit is contained in:
Ulrich Drepper 2002-03-11 10:36:30 +00:00
parent 0e47dbd052
commit 20febd6a63
4 changed files with 16 additions and 9 deletions

View File

@ -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.

View File

@ -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);

View File

@ -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)

View 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.
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. */