* 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.
This commit is contained in:
Ulrich Drepper 2002-03-13 09:38:59 +00:00
parent 6455d2556c
commit 169ec09e54
7 changed files with 23 additions and 10 deletions

View file

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

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

View 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;

View 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

View 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;

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

View 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 \