aboutsummaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-02-06 10:46:27 +0000
committerAndreas Jaeger <aj@suse.de>2001-02-06 10:46:27 +0000
commitd4620e04579c2aa733770fd2399534d59469ff5e (patch)
tree4811b55124cf62057f979478db49d9b739c0fd37 /posix
parent49a9dd2b6c4334f8caf199a16d78ed56c0aefb84 (diff)
downloadglibc-d4620e04579c2aa733770fd2399534d59469ff5e.tar
glibc-d4620e04579c2aa733770fd2399534d59469ff5e.tar.gz
glibc-d4620e04579c2aa733770fd2399534d59469ff5e.tar.bz2
glibc-d4620e04579c2aa733770fd2399534d59469ff5e.zip
Update.
2001-02-06 Andreas Jaeger <aj@suse.de> * elf/firstobj.c: Add prototype. * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype (truncate_wchar): Likewise.
Diffstat (limited to 'posix')
-rw-r--r--posix/regex.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/posix/regex.c b/posix/regex.c
index 6a8c899e97..b4979d0bc1 100644
--- a/posix/regex.c
+++ b/posix/regex.c
@@ -1158,7 +1158,11 @@ printchar (c)
This assume invalid multibyte sequences as binary data.
We assume offset_buffer and is_binary is already allocated
enough space. */
-size_t
+
+static size_t convert_mbs_to_wcs (CHAR_TYPE *dest, const unsigned char* src,
+ size_t len, int *offset_buffer,
+ int *is_binary);
+static size_t
convert_mbs_to_wcs (dest, src, len, offset_buffer, is_binary)
CHAR_TYPE *dest;
const unsigned char* src;
@@ -4525,8 +4529,10 @@ compile_range (range_start_char, p_ptr, pend, translate, syntax, b)
#ifdef MBS_SUPPORT
/* local function for re_compile_fastmap.
truncate wchar_t character to char. */
-unsigned char
-truncate_wchar(c)
+static unsigned char truncate_wchar (CHAR_TYPE c);
+
+static unsigned char
+truncate_wchar (c)
CHAR_TYPE c;
{
unsigned char buf[MB_LEN_MAX];