diff options
author | Jeff Law <law@gcc.gnu.org> | 1999-09-06 23:49:18 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-09-06 23:49:18 -0600 |
commit | c5c7673583c6310e7f8e45704fdc4aadff33e393 (patch) | |
tree | f1a67b6ea75a7f0da3f06e0a1c60b213f4403168 /gcc/mbchar.h | |
parent | ad85216ece38be37dacbbb3fa7bb7db69aa33a4b (diff) | |
download | gcc-c5c7673583c6310e7f8e45704fdc4aadff33e393.zip gcc-c5c7673583c6310e7f8e45704fdc4aadff33e393.tar.gz gcc-c5c7673583c6310e7f8e45704fdc4aadff33e393.tar.bz2 |
Merge in gcc2-ss-010999
From-SVN: r29150
Diffstat (limited to 'gcc/mbchar.h')
-rw-r--r-- | gcc/mbchar.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/gcc/mbchar.h b/gcc/mbchar.h index 65f281a..a4c019b 100644 --- a/gcc/mbchar.h +++ b/gcc/mbchar.h @@ -1,4 +1,4 @@ -/* mbchar.h - Various declarations for functions found in mbchar.c +/* Various declarations for functions found in mbchar.c Copyright (C) 1998 Free Software Foundation, Inc. This file is part of GNU CC. @@ -22,7 +22,8 @@ Boston, MA 02111-1307, USA. */ #define __GCC_MBCHAR_H__ #ifdef MULTIBYTE_CHARS -/* escape character used for JIS encoding */ + +/* Escape character used for JIS encoding */ #define JIS_ESC_CHAR 0x1b #define ISSJIS1(c) ((c) >= 0x81 && (c) <= 0x9f || (c) >= 0xe0 && (c) <= 0xef) @@ -30,12 +31,10 @@ Boston, MA 02111-1307, USA. */ #define ISEUCJP(c) ((c) >= 0xa1 && (c) <= 0xfe) #define ISJIS(c) ((c) >= 0x21 && (c) <= 0x7e) -int local_mbtowc PROTO ((wchar_t *, const char *, size_t)); -int local_mblen PROTO ((const char *, size_t)); -int local_mb_cur_max PROTO ((void)); +extern int local_mbtowc PROTO ((wchar_t *, char *, size_t)); +extern int local_mblen PROTO ((char *, size_t)); +extern int local_mb_cur_max PROTO ((void)); /* The locale being used for multibyte characters in string/char literals. */ extern char *literal_codeset; #endif /* MULTIBYTE_CHARS */ - -#endif /* __GCC_MBCHAR_H__ */ |