From e62c19f12cfc377ac9ce7c037713ead5dc6b57d9 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 3 Apr 1998 15:46:53 +0000 Subject: Update. 1998-04-03 15:34 Ulrich Drepper * iconv/gconv_int.h: New file. Internal header. * iconv/Makefile (distribute): Add gconv_int.h. * iconv/gconv.h: Remove definition which are now in gconv_int.h. * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction. * iconv/gconv_close.c: Likewise. * iconv/gconv_conf.c: Likewise. * iconv/gconv_db.c: Likewise. * iconv/gconv_dl.c: Likewise. * iconv/gconv_int.h: Likewise. * iconv/gconv_open.c: Likewise. * iconv/iconv.c: Likewise. * iconv/iconv_close.c: Likewise. * iconv/iconv_open.c: Likewise. * iconv/iconv_prog.c: Likewise. 1998-04-03 Ulrich Drepper * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the missing braces. --- iconv/gconv_db.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'iconv/gconv_db.c') diff --git a/iconv/gconv_db.c b/iconv/gconv_db.c index b1320ac..5a3932c 100644 --- a/iconv/gconv_db.c +++ b/iconv/gconv_db.c @@ -1,5 +1,5 @@ /* Provide access to the collection of available transformation modules. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997. @@ -18,12 +18,13 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include #include #include #include #include +#include + /* Simple data structure for alias mapping. We have two names, `from' and `to'. */ @@ -93,6 +94,7 @@ static void *known_derivations; /* 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) { @@ -114,6 +116,7 @@ derivation_lookup (const char *fromset, const char *toset, /* 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) { @@ -142,6 +145,7 @@ add_derivation (const char *fromset, const char *toset, } static void +internal_function free_derivation (void *p) { struct known_derivation *deriv = (struct known_derivation *) p; @@ -479,6 +483,7 @@ find_derivation (const char *toset, const char *toset_expand, int +internal_function __gconv_find_transform (const char *toset, const char *fromset, struct gconv_step **handle, size_t *nsteps) { @@ -523,6 +528,7 @@ __gconv_find_transform (const char *toset, const char *fromset, /* Release the entries of the modules list. */ int +internal_function __gconv_close_transform (struct gconv_step *steps, size_t nsteps) { int result = GCONV_OK; -- cgit v1.1