[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
unicodeio.c: accidental extern function: unicode_to_mb
From: |
Jim Meyering |
Subject: |
unicodeio.c: accidental extern function: unicode_to_mb |
Date: |
Wed, 21 Sep 2005 18:38:26 +0200 |
Hi Bruno,
Since unicode_to_mb is not declared in any other file
that I can see, nor is it used elsewhere in gnulib,
I suspect it really should have file scope.
Here's a patch:
Index: unicodeio.c
===================================================================
RCS file: /fetish/cu/lib/unicodeio.c,v
retrieving revision 1.23
diff -u -p -r1.23 unicodeio.c
--- unicodeio.c 14 May 2005 07:58:07 -0000 1.23
+++ unicodeio.c 21 Aug 2005 15:55:33 -0000
@@ -115,7 +115,7 @@ utf8_wctomb (unsigned char *r, unsigned
passing it CODE and an English error string.
Returns whatever the callback returned.
Assumes that the locale doesn't change between two calls. */
-long
+static long
unicode_to_mb (unsigned int code,
long (*success) (const char *buf, size_t buflen,
void *callback_arg),
- unicodeio.c: accidental extern function: unicode_to_mb,
Jim Meyering <=