From dff07c4bd402944ea0abb544232541fd9a4c5429 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 15 Mar 2002 09:30:44 +0000 Subject: Update. 2002-03-15 Ulrich Drepper * sysdeps/i386/i386-mcount.S: Just call __mcount_internal, it is an internal function. Adjust for internal_function calling convention. * sysdeps/i386/machine-gmon.h: Declare and define __mcount_internal as internal_function. * sysdeps/generic/framestate.c: Declare fallback_frame_state_for as hidden. * nss/XXX-lookup.c (DB_LOOKUP_FCT): Add internal_function to declaration and definition. * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Add internal_function to declaration. * nss/getXXent_r.c: Likewise. * nss/nsswitch.h (db_lookup_function): Add internal_function to definition. * include/time.h: Declare __localtime_r as hidden. * include/grp.h: Declare __getgrent_r as hidden. * include/netdb.h: Declare __gethostent_r, __getnetent_r, __getservent_r, and __getprotoent_r as hidden. * include/pwd.h: Declare __getpwent_r as hidden. * include/shadow.h: Declare __getspent_r as hidden. * include/rpc/netdb.h: Declare __getrpcent_r as hidden. * iconv/gconv_int.h: Declare __gconv_read_conf, __gconv_alias_compare, and __gconv_transliterate as hidden. Add internal_function to __gconv_get_path declaration. * iconv/gconv_int.h: Add internal_function to __gconv_get_path definition. Add attribute_hidden to __gconv_read_conf definition. --- iconv/gconv_conf.c | 4 +++- iconv/gconv_int.h | 9 +++++---- 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'iconv') diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c index 99519d09d2..8c2f4b014e 100644 --- a/iconv/gconv_conf.c +++ b/iconv/gconv_conf.c @@ -1,5 +1,5 @@ /* Handle configuration data. - Copyright (C) 1997,98,99,2000,2001 Free Software Foundation, Inc. + Copyright (C) 1997,98,99,2000,2001,2002 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997. @@ -416,6 +416,7 @@ read_conf_file (const char *filename, const char *directory, size_t dir_len, /* Determine the directories we are looking for data in. */ void +internal_function __gconv_get_path (void) { struct path_elem *result; @@ -527,6 +528,7 @@ __gconv_get_path (void) /* Read all configuration files found in the user-specified and the default path. */ void +attribute_hidden __gconv_read_conf (void) { void *modules = NULL; diff --git a/iconv/gconv_int.h b/iconv/gconv_int.h index ae6be36b5e..df7d2ee65f 100644 --- a/iconv/gconv_int.h +++ b/iconv/gconv_int.h @@ -199,16 +199,17 @@ extern void __gconv_release_step (struct __gconv_step *step) internal_function; /* Read all the configuration data and cache it. */ -extern void __gconv_read_conf (void); +extern void __gconv_read_conf (void) attribute_hidden; /* Try to read module cache file. */ extern int __gconv_load_cache (void) internal_function; /* Determine the directories we are looking in. */ -extern void __gconv_get_path (void); +extern void __gconv_get_path (void) internal_function; /* Comparison function to search alias. */ -extern int __gconv_alias_compare (const void *p1, const void *p2); +extern int __gconv_alias_compare (const void *p1, const void *p2) + attribute_hidden; /* Clear reference to transformation step implementations which might cause the code to be unloaded. */ @@ -248,7 +249,7 @@ extern int __gconv_transliterate (struct __gconv_step *step, __const unsigned char **inbufp, __const unsigned char *inbufend, unsigned char **outbufstart, - size_t *irreversible); + size_t *irreversible) attribute_hidden; /* Builtin transformations. */ -- cgit v1.2.3