diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-04 04:38:01 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-04 04:38:01 +0000 |
commit | e057cf7c280391a0148b6fb6e23947c0ba071ffb (patch) | |
tree | 32af1382b7b6344ab51affdb8e243e9ecedf4e69 /gcc/mbchar.c | |
parent | 187cdc0268474120a8ce52c455f8a25f7ff372eb (diff) | |
download | gcc-e057cf7c280391a0148b6fb6e23947c0ba071ffb.tar.gz |
gcc:
* cpphash.h (U): New define, to correct type of string constants.
(ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr): New wrapper
routines, to do casts when passing unsigned strings to libc.
* cppexp.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c: Use them.
* cppfiles.c (_cpp_execute_include): Make filename an U_CHAR *.
* cpphash.c (_cpp_quote_string): Make string an U_CHAR *.
* cppinit.c (dump_special_to_buffer): Make macro name an U_CHAR *.
* cpplex.c (parse_ifdef, parse_include, validate_else): Make
second argument an U_CHAR *.
* cppinit.c (builtin_array): Make name and value U_CHAR *, add
length field, clean up initializer.
(ISTABLE): Add __extension__ to designated-
initializers version.
* cpplex.c (CHARTAB): Likewise.
* mbchar.c: Add dummy external declaration to the !MULTIBYTE_CHARS
case so the file won't be empty.
include:
* symcat.h: Remove #endif label.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33657 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/mbchar.c')
-rw-r--r-- | gcc/mbchar.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/mbchar.c b/gcc/mbchar.c index 3978612f342..71cc99c230a 100644 --- a/gcc/mbchar.c +++ b/gcc/mbchar.c @@ -329,4 +329,6 @@ local_mb_cur_max () return 1; /* default */ #endif } +#else /* MULTIBYTE_CHARS */ +extern int dummy; /* silence 'ANSI C forbids an empty source file' warning */ #endif /* MULTIBYTE_CHARS */ |