Also adjust parts of the time subdirectory.
+2017-08-31 Florian Weimer <fweimer@redhat.com>
+
+ * iconv/gconv.c (__gconv): Remove internal_function.
+ * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
+ * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
+ (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
+ (__gconv_release_cache): Likewise.
+ * iconv/gconv_close.c (__gconv_close): Likewise.
+ * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
+ (read_conf_file, __gconv_get_path): Likewise.
+ * iconv/gconv_db.c (derivation_lookup, add_derivation)
+ (__gconv_release_step, gen_steps, increment_counter)
+ (find_derivation, __gconv_compare_alias, __gconv_find_transform)
+ (__gconv_close_transform, free_modules_db): Likewise.
+ * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
+ Likewise.
+ * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
+ (__gconv_find_transform, __gconv_lookup_cache)
+ (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
+ (__gconv_close_transform, __gconv_release_cache)
+ (__gconv_loaded_object, __gconv_release_shlib)
+ (__gconv_compare_alias): Likewise.
+ * iconv/gconv_open.c (__gconv_open): Likewise.
+ * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
+ * iconv/iconvconfig.c (add_module): Likewise.
+ * intl/dcigettext.c (plural_lookup, guess_category_value)
+ (category_to_name, get_output_charset, _nl_find_msg): Likewise.
+ * intl/eval-plural.h (plural_eval): Likewise.
+ * intl/finddomain.c (_nl_find_domain): Likewise.
+ * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
+ (_nl_load_domain, _nl_find_msg): Likewise.
+ (internal_function): Remove definition.
+ * intl/loadinfo.h (internal_function): Likewise.
+ * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
+ internal_function.
+ * intl/localealias.c (internal_function): Remove definition.
+ (read_alias_file): Remove internal_function.
+ * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
+ * intl/plural-exp.h (internal_function): Remove definition.
+ (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
+ internal_function.
+ * intl/plural.c: Regenerate.
+ * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
+ * locale/coll-lookup.c (__collidx_table_lookup)
+ (__collseq_table_lookup): Likewise.
+ * locale/coll-lookup.h (__collidx_table_lookup)
+ (__collseq_table_lookup): Likewise.
+ * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
+ * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
+ * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
+ (_nl_unload_locale): Likewise.
+ * locale/localeinfo.h (struct __locale_data): Remove
+ internal_function from cleanup member.
+ (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
+ (_nl_remove_locale, _nl_load_locale_from_archive)
+ (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
+ (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
+ (_nl_cleanup_time): Remove internal_function.
+ * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
+ (_nl_parse_alt_digit): Likewise.
+ * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
+ (_nl_select_era_entry): Likewise.
+ * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
+ * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
+ (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
+
2017-08-31 Florian Weimer <fweimer@redhat.com>
* rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
int
-internal_function
__gconv (__gconv_t cd, const unsigned char **inbuf,
const unsigned char *inbufend, unsigned char **outbuf,
unsigned char *outbufend, size_t *irreversible)
void
-internal_function
__gconv_get_builtin_trans (const char *name, struct __gconv_step *step)
{
size_t cnt;
int
-internal_function
__gconv_load_cache (void)
{
int fd;
static int
-internal_function
find_module_idx (const char *str, size_t *idxp)
{
unsigned int idx;
#ifndef STATIC_GCONV
static int
-internal_function
find_module (const char *directory, const char *filename,
struct __gconv_step *result)
{
int
-internal_function
__gconv_compare_alias_cache (const char *name1, const char *name2, int *result)
{
size_t name1_idx;
int
-internal_function
__gconv_lookup_cache (const char *toset, const char *fromset,
struct __gconv_step **handle, size_t *nsteps, int flags)
{
/* Free memory allocated for the transformation record. */
void
-internal_function
__gconv_release_cache (struct __gconv_step *steps, size_t nsteps)
{
if (gconv_cache != NULL)
int
-internal_function
__gconv_close (__gconv_t cd)
{
struct __gconv_step *srunp;
/* Test whether there is already a matching module known. */
static int
-internal_function
detect_conflict (const char *alias)
{
struct gconv_module *node = __gconv_modules_db;
/* Insert a data structure for a new module in the search tree. */
static void
-internal_function
insert_module (struct gconv_module *newp, int tobefreed)
{
struct gconv_module **rootp = &__gconv_modules_db;
/* Add new module. */
static void
-internal_function
add_module (char *rp, const char *directory, size_t dir_len, void **modules,
size_t *nmodules, int modcounter)
{
/* Read the next configuration file. */
static void
-internal_function
read_conf_file (const char *filename, const char *directory, size_t dir_len,
void **modules, size_t *nmodules)
{
/* Determine the directories we are looking for data in. */
void
-internal_function
__gconv_get_path (void)
{
struct path_elem *result;
/* Look up whether given transformation was already requested before. */
static int
-internal_function
derivation_lookup (const char *fromset, const char *toset,
struct __gconv_step **handle, size_t *nsteps)
{
/* Add new derivation to list of known ones. */
static void
-internal_function
add_derivation (const char *fromset, const char *toset,
struct __gconv_step *handle, size_t nsteps)
{
/* Decrement the reference count for a single step in a steps array. */
void
-internal_function
__gconv_release_step (struct __gconv_step *step)
{
/* Skip builtin modules; they are not reference counted. */
}
static int
-internal_function
gen_steps (struct derivation_step *best, const char *toset,
const char *fromset, struct __gconv_step **handle, size_t *nsteps)
{
#ifndef STATIC_GCONV
static int
-internal_function
increment_counter (struct __gconv_step *steps, size_t nsteps)
{
/* Increment the user counter. */
/* The main function: find a possible derivation from the `fromset' (either
the given name or the alias) to the `toset' (again with alias). */
static int
-internal_function
find_derivation (const char *toset, const char *toset_expand,
const char *fromset, const char *fromset_expand,
struct __gconv_step **handle, size_t *nsteps)
int
-internal_function
__gconv_compare_alias (const char *name1, const char *name2)
{
int result;
int
-internal_function
__gconv_find_transform (const char *toset, const char *fromset,
struct __gconv_step **handle, size_t *nsteps,
int flags)
/* Release the entries of the modules list. */
int
-internal_function
__gconv_close_transform (struct __gconv_step *steps, size_t nsteps)
{
int result = __GCONV_OK;
/* Free the modules mentioned. */
static void
-internal_function __libc_freeres_fn_section
+__libc_freeres_fn_section
free_modules_db (struct gconv_module *node)
{
if (node->left != NULL)
/* Open the gconv database if necessary. A non-negative return value
means success. */
struct __gconv_loaded_object *
-internal_function
__gconv_find_shlib (const char *name)
{
struct __gconv_loaded_object *found;
/* Notify system that a shared object is not longer needed. */
void
-internal_function
__gconv_release_shlib (struct __gconv_loaded_object *handle)
{
/* Urgh, this is ugly but we have no other possibility. */
/* Return in *HANDLE decriptor for transformation from FROMSET to TOSET. */
extern int __gconv_open (const char *toset, const char *fromset,
- __gconv_t *handle, int flags)
- internal_function;
+ __gconv_t *handle, int flags);
/* Free resources associated with transformation descriptor CD. */
-extern int __gconv_close (__gconv_t cd)
- internal_function;
+extern int __gconv_close (__gconv_t cd);
/* Transform at most *INBYTESLEFT bytes from buffer starting at *INBUF
according to rules described by CD and place up to *OUTBYTESLEFT
conversions in *IRREVERSIBLE if this pointer is not null. */
extern int __gconv (__gconv_t cd, const unsigned char **inbuf,
const unsigned char *inbufend, unsigned char **outbuf,
- unsigned char *outbufend, size_t *irreversible)
- internal_function;
+ unsigned char *outbufend, size_t *irreversible);
/* Return in *HANDLE a pointer to an array with *NSTEPS elements describing
the single steps necessary for transformation from FROMSET to TOSET. */
extern int __gconv_find_transform (const char *toset, const char *fromset,
struct __gconv_step **handle,
- size_t *nsteps, int flags)
- internal_function;
+ size_t *nsteps, int flags);
/* Search for transformation in cache data. */
extern int __gconv_lookup_cache (const char *toset, const char *fromset,
struct __gconv_step **handle, size_t *nsteps,
- int flags)
- internal_function;
+ int flags);
/* Compare the two name for whether they are after alias expansion the
same. This function uses the cache and fails if none is
loaded. */
extern int __gconv_compare_alias_cache (const char *name1, const char *name2,
- int *result) internal_function;
+ int *result);
/* Free data associated with a step's structure. */
-extern void __gconv_release_step (struct __gconv_step *step)
- internal_function;
+extern void __gconv_release_step (struct __gconv_step *step);
/* Read all the configuration data and cache it. */
extern void __gconv_read_conf (void) attribute_hidden;
/* Try to read module cache file. */
-extern int __gconv_load_cache (void) internal_function;
+extern int __gconv_load_cache (void);
/* Retrieve pointer to internal cache. */
extern void *__gconv_get_cache (void);
extern void *__gconv_get_alias_db (void);
/* Determine the directories we are looking in. */
-extern void __gconv_get_path (void) internal_function;
+extern void __gconv_get_path (void);
/* Comparison function to search alias. */
extern int __gconv_alias_compare (const void *p1, const void *p2)
/* Clear reference to transformation step implementations which might
cause the code to be unloaded. */
extern int __gconv_close_transform (struct __gconv_step *steps,
- size_t nsteps)
- internal_function;
+ size_t nsteps);
/* Free all resources allocated for the transformation record when
using the cache. */
-extern void __gconv_release_cache (struct __gconv_step *steps, size_t nsteps)
- internal_function;
+extern void __gconv_release_cache (struct __gconv_step *steps, size_t nsteps);
/* Load shared object named by NAME. If already loaded increment reference
count. */
-extern struct __gconv_loaded_object *__gconv_find_shlib (const char *name)
- internal_function;
+extern struct __gconv_loaded_object *__gconv_find_shlib (const char *name);
/* Release shared object. If no further reference is available unload
the object. */
-extern void __gconv_release_shlib (struct __gconv_loaded_object *handle)
- internal_function;
+extern void __gconv_release_shlib (struct __gconv_loaded_object *handle);
/* Fill STEP with information about builtin module with NAME. */
extern void __gconv_get_builtin_trans (const char *name,
- struct __gconv_step *step)
- internal_function;
+ struct __gconv_step *step);
libc_hidden_proto (__gconv_transliterate)
/* If NAME is an codeset alias expand it. */
-extern int __gconv_compare_alias (const char *name1, const char *name2)
- internal_function;
+extern int __gconv_compare_alias (const char *name1, const char *name2);
/* Builtin transformations. */
int
-internal_function
__gconv_open (const char *toset, const char *fromset, __gconv_t *handle,
int flags)
{
const char *output_file);
static int process_file (iconv_t cd, FILE *input, FILE **output,
const char *output_file);
-static void print_known_names (void) internal_function;
+static void print_known_names (void);
int
}
static void
-internal_function
add_known_names (struct gconv_module *node)
{
if (node->left != NULL)
static void
-internal_function
print_known_names (void)
{
iconv_t h;
/* Add new module. */
static void
-internal_function
add_module (char *rp, const char *directory)
{
/* We expect now
/* Prototypes for local functions. */
static char *plural_lookup (struct loaded_l10nfile *domain,
unsigned long int n,
- const char *translation, size_t translation_len)
- internal_function;
+ const char *translation, size_t translation_len);
#ifdef IN_LIBGLOCALE
static const char *guess_category_value (int category,
const char *categoryname,
- const char *localename)
- internal_function;
+ const char *localename);
#else
static const char *guess_category_value (int category,
- const char *categoryname)
- internal_function;
+ const char *categoryname);
#endif
#ifdef _LIBC
# define category_to_name(category) \
_nl_category_names.str + _nl_category_name_idxs[category]
#else
-static const char *category_to_name (int category) internal_function;
+static const char *category_to_name (int category);
#endif
#if (defined _LIBC || HAVE_ICONV) && !defined IN_LIBGLOCALE
-static const char *get_output_charset (struct binding *domainbinding)
- internal_function;
+static const char *get_output_charset (struct binding *domainbinding);
#endif
in case of a memory allocation failure during conversion (only if
ENCODING != NULL resp. CONVERT == true). */
char *
-internal_function
#ifdef IN_LIBGLOCALE
_nl_find_msg (struct loaded_l10nfile *domain_file,
struct binding *domainbinding, const char *encoding,
/* Look up a plural variant. */
static char *
-internal_function
plural_lookup (struct loaded_l10nfile *domain, unsigned long int n,
const char *translation, size_t translation_len)
{
#ifndef _LIBC
/* Return string representation of locale CATEGORY. */
static const char *
-internal_function
category_to_name (int category)
{
const char *retval;
/* Guess value of current locale from value of the environment variables
or system-dependent defaults. */
static const char *
-internal_function
#ifdef IN_LIBGLOCALE
guess_category_value (int category, const char *categoryname,
const char *locale)
#if (defined _LIBC || HAVE_ICONV) && !defined IN_LIBGLOCALE
/* Returns the output charset. */
static const char *
-internal_function
get_output_charset (struct binding *domainbinding)
{
/* The output charset should normally be determined by the locale. But
/* Evaluate the plural expression and return an index value. */
STATIC
unsigned long int
-internal_function
plural_eval (const struct expression *pexp, unsigned long int n)
{
switch (pexp->nargs)
the DOMAINNAME and CATEGORY parameters with respect to the currently
established bindings. */
struct loaded_l10nfile *
-internal_function
_nl_find_domain (const char *dirname, char *locale,
const char *domainname, struct binding *domainbinding)
{
const char *__codeset);
extern void _nl_finddomain_subfreeres (void) attribute_hidden;
extern void _nl_unload_domain (struct loaded_domain *__domain)
- internal_function attribute_hidden;
+ attribute_hidden;
#else
/* Declare the exported libintl_* functions, in a way that allows us to
call them under their real name. */
/* @@ end of prolog @@ */
-#ifndef internal_function
-# define internal_function
-#endif
-
#ifndef attribute_hidden
# define attribute_hidden
#endif
struct loaded_l10nfile *_nl_find_domain (const char *__dirname, char *__locale,
const char *__domainname,
- struct binding *__domainbinding)
- internal_function;
+ struct binding *__domainbinding);
void _nl_load_domain (struct loaded_l10nfile *__domain,
- struct binding *__domainbinding)
- internal_function;
+ struct binding *__domainbinding);
#ifdef IN_LIBGLOCALE
char *_nl_find_msg (struct loaded_l10nfile *domain_file,
struct binding *domainbinding, const char *encoding,
const char *msgid,
- size_t *lengthp)
- internal_function;
+ size_t *lengthp);
#else
char *_nl_find_msg (struct loaded_l10nfile *domain_file,
struct binding *domainbinding, const char *msgid,
- int convert, size_t *lengthp)
- internal_function;
+ int convert, size_t *lengthp);
#endif
/* The internal variables in the standalone libintl.a must have different
in gettextP.h.
*/
-#ifndef internal_function
-# define internal_function
-#endif
-
#ifndef LIBINTL_DLL_EXPORTED
# define LIBINTL_DLL_EXPORTED
#endif
/* Load the message catalogs specified by FILENAME. If it is no valid
message catalog do nothing. */
void
-internal_function
_nl_load_domain (struct loaded_l10nfile *domain_file,
struct binding *domainbinding)
{
#ifdef _LIBC
void
-internal_function __libc_freeres_fn_section
+__libc_freeres_fn_section
_nl_unload_domain (struct loaded_domain *domain)
{
size_t i;
# include "lock.h"
#endif
-#ifndef internal_function
-# define internal_function
-#endif
-
/* Some optimizations for glibc. */
#ifdef _LIBC
# define FEOF(fp) feof_unlocked (fp)
/* Prototypes for local functions. */
-static size_t read_alias_file (const char *fname, int fname_len)
- internal_function;
+static size_t read_alias_file (const char *fname, int fname_len);
static int extend_alias_table (void);
static int alias_compare (const struct alias_map *map1,
const struct alias_map *map2);
static size_t
-internal_function
read_alias_file (const char *fname, int fname_len)
{
FILE *fp;
#endif
void
-internal_function
EXTRACT_PLURAL_EXPRESSION (const char *nullentry,
const struct expression **pluralp,
unsigned long int *npluralsp)
#ifndef _PLURAL_EXP_H
#define _PLURAL_EXP_H
-#ifndef internal_function
-# define internal_function
-#endif
-
#ifndef attribute_hidden
# define attribute_hidden
#endif
# define EXTRACT_PLURAL_EXPRESSION extract_plural_expression
#endif
-extern void FREE_EXPRESSION (struct expression *exp)
- internal_function;
+extern void FREE_EXPRESSION (struct expression *exp);
extern int PLURAL_PARSE (struct parse_args *arg);
extern const struct expression GERMANIC_PLURAL attribute_hidden;
extern void EXTRACT_PLURAL_EXPRESSION (const char *nullentry,
const struct expression **pluralp,
- unsigned long int *npluralsp)
- internal_function;
+ unsigned long int *npluralsp);
#if !defined (_LIBC) && !defined (IN_LIBINTL) && !defined (IN_LIBGLOCALE)
extern unsigned long int plural_eval (const struct expression *pexp,
void
-internal_function
FREE_EXPRESSION (struct expression *exp)
{
if (exp == NULL)
%%
void
-internal_function
FREE_EXPRESSION (struct expression *exp)
{
if (exp == NULL)
/* Lookup in a table of int32_t, with default value 0. */
int32_t
-internal_function
__collidx_table_lookup (const char *table, uint32_t wc)
{
uint32_t shift1 = ((const uint32_t *) table)[0];
/* Lookup in a table of uint32_t, with default value 0xffffffff. */
uint32_t
-internal_function
__collseq_table_lookup (const char *table, uint32_t wc)
{
uint32_t shift1 = ((const uint32_t *) table)[0];
#include <stdint.h>
/* Lookup in a table of int32_t, with default value 0. */
-extern int32_t __collidx_table_lookup (const char *table, uint32_t wc)
- internal_function;
+extern int32_t __collidx_table_lookup (const char *table, uint32_t wc);
/* Lookup in a table of uint32_t, with default value 0xffffffff. */
-extern uint32_t __collseq_table_lookup (const char *table, uint32_t wc)
- internal_function;
+extern uint32_t __collseq_table_lookup (const char *table, uint32_t wc);
}
struct __locale_data *
-internal_function
_nl_find_locale (const char *locale_path, size_t locale_path_len,
int category, const char **name)
{
/* Calling this function assumes the lock for handling global locale data
is acquired. */
void
-internal_function
_nl_remove_locale (int locale, struct __locale_data *data)
{
if (--data->usage_count == 0)
structure. If successful, sets *NAMEP to point directly into the mapped
archive string table; that way, the next call can short-circuit strcmp. */
struct __locale_data *
-internal_function
_nl_load_locale_from_archive (int category, const char **namep)
{
const char *name = *namep;
struct __locale_data *
-internal_function
_nl_intern_locale_data (int category, const void *data, size_t datasize)
{
const struct
}
void
-internal_function
_nl_load_locale (struct loaded_l10nfile *file, int category)
{
int fd;
}
void
-internal_function
_nl_unload_locale (struct __locale_data *locale)
{
if (locale->private.cleanup)
the data. */
struct
{
- void (*cleanup) (struct __locale_data *) internal_function;
+ void (*cleanup) (struct __locale_data *);
union
{
void *data;
extern struct __locale_data *_nl_find_locale (const char *locale_path,
size_t locale_path_len,
int category, const char **name)
- internal_function attribute_hidden;
+ attribute_hidden;
/* Try to load the file described by FILE. */
extern void _nl_load_locale (struct loaded_l10nfile *file, int category)
- internal_function attribute_hidden;
+ attribute_hidden;
/* Free all resource. */
-extern void _nl_unload_locale (struct __locale_data *locale)
- internal_function attribute_hidden;
+extern void _nl_unload_locale (struct __locale_data *locale) attribute_hidden;
/* Free the locale and give back all memory if the usage count is one. */
extern void _nl_remove_locale (int locale, struct __locale_data *data)
- internal_function attribute_hidden;
+ attribute_hidden;
/* Find the locale *NAMEP in the locale archive, and return the
internalized data structure for its CATEGORY data. If this locale has
archive string table; that way, the next call can short-circuit strcmp. */
extern struct __locale_data *_nl_load_locale_from_archive (int category,
const char **namep)
- internal_function attribute_hidden;
+ attribute_hidden;
/* Subroutine of setlocale's __libc_subfreeres hook. */
extern void _nl_archive_subfreeres (void) attribute_hidden;
extern struct __locale_data *_nl_intern_locale_data (int category,
const void *data,
size_t datasize)
- internal_function attribute_hidden;
+ attribute_hidden;
/* Return `era' entry which corresponds to TP. Used in strftime. */
extern struct era_entry *_nl_get_era_entry (const struct tm *tp,
struct __locale_data *lc_time)
- internal_function attribute_hidden;
+ attribute_hidden;
/* Return `era' cnt'th entry . Used in strptime. */
extern struct era_entry *_nl_select_era_entry (int cnt,
struct __locale_data *lc_time)
- internal_function attribute_hidden;
+ attribute_hidden;
/* Return `alt_digit' which corresponds to NUMBER. Used in strftime. */
extern const char *_nl_get_alt_digit (unsigned int number,
struct __locale_data *lc_time)
- internal_function attribute_hidden;
+ attribute_hidden;
/* Similar, but now for wide characters. */
extern const wchar_t *_nl_get_walt_digit (unsigned int number,
struct __locale_data *lc_time)
- internal_function attribute_hidden;
+ attribute_hidden;
/* Parse string as alternative digit and return numeric value. */
extern int _nl_parse_alt_digit (const char **strp,
struct __locale_data *lc_time)
- internal_function attribute_hidden;
+ attribute_hidden;
/* Postload processing. */
extern void _nl_postload_ctype (void);
/* Functions used for the `private.cleanup' hook. */
-extern void _nl_cleanup_time (struct __locale_data *)
- internal_function attribute_hidden;
+extern void _nl_cleanup_time (struct __locale_data *) attribute_hidden;
#endif /* localeinfo.h */
}
const char *
-internal_function
_nl_get_alt_digit (unsigned int number, struct __locale_data *current)
{
const char *result;
const wchar_t *
-internal_function
_nl_get_walt_digit (unsigned int number, struct __locale_data *current)
{
const wchar_t *result = NULL;
int
-internal_function
_nl_parse_alt_digit (const char **strp, struct __locale_data *current)
{
const char *str = *strp;
/* Look up the era information in CURRENT's locale strings and
cache it in CURRENT->private. */
-static void internal_function
+static void
_nl_init_era_entries (struct __locale_data *current)
{
size_t cnt;
}
struct era_entry *
-internal_function
_nl_get_era_entry (const struct tm *tp, struct __locale_data *current)
{
if (current->private.time == NULL || !current->private.time->era_initialized)
struct era_entry *
-internal_function
_nl_select_era_entry (int cnt, struct __locale_data *current)
{
if (current->private.time == NULL || !current->private.time->era_initialized)
#include "../locale/localeinfo.h"
#include <stdlib.h>
-void internal_function
+void
_nl_cleanup_time (struct __locale_data *locale)
{
struct lc_time_data *const data = locale->private.time;
/* Load conversion functions for the currently selected locale. */
void
-internal_function
__wcsmbs_load_conv (struct __locale_data *new_category)
{
/* Acquire the lock. */
/* Clone the current conversion function set. */
void
-internal_function
__wcsmbs_clone_conv (struct gconv_fcts *copy)
{
const struct gconv_fcts *orig;
/* Get converters for named charset. */
int
-internal_function
__wcsmbs_named_conv (struct gconv_fcts *copy, const char *name)
{
copy->towc = __wcsmbs_getfct ("INTERNAL", name, ©->towc_nsteps);
return 0;
}
-void internal_function
+void
_nl_cleanup_ctype (struct __locale_data *locale)
{
const struct gconv_fcts *const data = locale->private.ctype;
extern const struct gconv_fcts __wcsmbs_gconv_fcts_c attribute_hidden;
/* Load conversion functions for the currently selected locale. */
-extern void __wcsmbs_load_conv (struct __locale_data *new_category)
- internal_function;
+extern void __wcsmbs_load_conv (struct __locale_data *new_category);
/* Clone the current `__wcsmbs_load_conv' value. */
-extern void __wcsmbs_clone_conv (struct gconv_fcts *copy)
- internal_function;
+extern void __wcsmbs_clone_conv (struct gconv_fcts *copy);
/* Find the conversion functions for converting to and from NAME. */
-extern int __wcsmbs_named_conv (struct gconv_fcts *copy, const char *name)
- internal_function;
+extern int __wcsmbs_named_conv (struct gconv_fcts *copy, const char *name);
/* Function used for the `private.cleanup' hook. */
-extern void _nl_cleanup_ctype (struct __locale_data *)
- internal_function attribute_hidden;
+extern void _nl_cleanup_ctype (struct __locale_data *) attribute_hidden;
#include <iconv/gconv_int.h>