From e057cf7c280391a0148b6fb6e23947c0ba071ffb Mon Sep 17 00:00:00 2001 From: zack Date: Thu, 4 May 2000 04:38:01 +0000 Subject: 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 --- include/symcat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/symcat.h') diff --git a/include/symcat.h b/include/symcat.h index 41589d42add..ed4c00e10d3 100644 --- a/include/symcat.h +++ b/include/symcat.h @@ -46,4 +46,4 @@ to "foo". */ #define XSTRING(s) STRINGX(s) -#endif SYM_CAT_H +#endif -- cgit v1.2.3