about summary refs log tree commit diff
path: root/iconv/gconv_dl.c
diff options
context:
space:
mode:
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.  */