summaryrefslogtreecommitdiff
path: root/iconv/gconv_dl.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-04-03 15:46:53 +0000
committerUlrich Drepper <drepper@redhat.com>1998-04-03 15:46:53 +0000
commite62c19f12cfc377ac9ce7c037713ead5dc6b57d9 (patch)
tree95fc8aa3e3e8722cf93ae46424b059e4796464ea /iconv/gconv_dl.c
parent6f0ee4628f3075ed37481d2bdb573b6d52d9e25e (diff)
downloadglibc-e62c19f12cfc377ac9ce7c037713ead5dc6b57d9.tar.gz
Update.
1998-04-03 15:34 Ulrich Drepper <drepper@cygnus.com> * 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 <drepper@cygnus.com> * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the missing braces.
Diffstat (limited to 'iconv/gconv_dl.c')
-rw-r--r--iconv/gconv_dl.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/iconv/gconv_dl.c b/iconv/gconv_dl.c
index a9a616663e..2a7cc92a3d 100644
--- a/iconv/gconv_dl.c
+++ b/iconv/gconv_dl.c
@@ -19,7 +19,6 @@
Boston, MA 02111-1307, USA. */
#include <dlfcn.h>
-#include <gconv.h>
#include <inttypes.h>
#include <search.h>
#include <stdlib.h>
@@ -28,6 +27,8 @@
#include <elf/ldsodefs.h>
#include <sys/param.h>
+#include <gconv_int.h>
+
/* This is a tuning parameter. If a transformation module is not used
anymore it gets not immediately unloaded. Instead we wait a certain
@@ -112,6 +113,7 @@ struct get_sym_args
};
static void
+internal_function
get_sym (void *a)
{
struct get_sym_args *args = (struct get_sym_args *) a;
@@ -123,6 +125,7 @@ get_sym (void *a)
void *
+internal_function
__gconv_find_func (void *handle, const char *name)
{
struct get_sym_args args;
@@ -139,6 +142,7 @@ __gconv_find_func (void *handle, const char *name)
/* Open the gconv database if necessary. A non-negative return value
means success. */
void *
+internal_function
__gconv_find_shlib (const char *name)
{
void *result = NULL;
@@ -234,6 +238,7 @@ do_release_shlib (const void *nodep, VISIT value, int level)
/* Notify system that a shared object is not longer needed. */
int
+internal_function
__gconv_release_shlib (void *handle)
{
/* Acquire the lock. */