about summary refs log tree commit diff
path: root/iconv
diff options
context:
space:
mode:
Diffstat (limited to 'iconv')
-rw-r--r--iconv/gconv_simple.c7
-rw-r--r--iconv/gconv_trans.c6
2 files changed, 3 insertions, 10 deletions
diff --git a/iconv/gconv_simple.c b/iconv/gconv_simple.c
index 188fc04c0e..5033f3ef83 100644
--- a/iconv/gconv_simple.c
+++ b/iconv/gconv_simple.c
@@ -789,13 +789,6 @@ ucs4le_internal_loop_single (struct __gconv_step *step,
 #define FUNCTION_NAME		__gconv_transform_internal_ascii
 #define ONE_DIRECTION		1
 
-extern int FUNCTION_NAME (struct __gconv_step *step,
-			  struct __gconv_step_data *data,
-			  const unsigned char **inptrp,
-			  const unsigned char *inend,
-			  unsigned char *outbufstart, size_t *irreversible,
-			  int do_flush, int consume_incomplete);
-
 #define MIN_NEEDED_INPUT	MIN_NEEDED_FROM
 #define MIN_NEEDED_OUTPUT	MIN_NEEDED_TO
 #define LOOPFCT			FROM_LOOP
diff --git a/iconv/gconv_trans.c b/iconv/gconv_trans.c
index 11c542e744..56c3ff6be6 100644
--- a/iconv/gconv_trans.c
+++ b/iconv/gconv_trans.c
@@ -27,9 +27,9 @@
 int
 gconv_transliterate (struct __gconv_step *step,
 		     struct __gconv_step_data *step_data,
-		     __const unsigned char *inbufstart,
-		     __const unsigned char **inbufp,
-		     __const unsigned char *inbufend,
+		     const unsigned char *inbufstart,
+		     const unsigned char **inbufp,
+		     const unsigned char *inbufend,
 		     unsigned char *outbufstart,
 		     unsigned char **outbufp, unsigned char *outbufend,
 		     size_t *irreversible)