From 438396422cf866b96ccdb10c32875e425b37c0ac Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Sun, 13 Jul 2003 17:34:18 +0000 Subject: Makefile.in (LIBCPP_DEPS): Remove coretypes.h and $(TM_H). * Makefile.in (LIBCPP_DEPS): Remove coretypes.h and $(TM_H). (hashtable.o, line-map.o, mkdeps.o): Likewise, from dependency list. Move these all together down by cpplib. * cpplib.h: Don't refer to MAX_WCHAR_TYPE_SIZE when determining definition of CPPCHAR_SIGNED_T. * cppcharset.c, cpperror.c, cppexp.c, cppfiles.c, cpphash.c, cppinit.c * cpplex.c, cpplib.c, cppmacro.c, cpppch.c, cpptrad.c, hashtable.c * line-map.c, mkdeps.c: Don't include coretypes.h or tm.h. * cpphash.c (_cpp_init_hashtable): Don't use gcc_obstack_init. * cppinit.c (cpp_create_reader): Likewise. * cpphash.h (scan_out_logical_line): Rename _cpp_scan_out_logical_line. * cpptrad.c: Likewise. All callers changed. * cpplib.c: All callers changed. * c-ppoutput.c: Replace 'uchar' with 'unsigned char' throughout. * hashtable.h: Define GTY(x) to nothing here too. From-SVN: r69298 --- gcc/c-ppoutput.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/c-ppoutput.c') diff --git a/gcc/c-ppoutput.c b/gcc/c-ppoutput.c index 333da30..c37435f 100644 --- a/gcc/c-ppoutput.c +++ b/gcc/c-ppoutput.c @@ -42,7 +42,7 @@ static struct /* General output routines. */ static void scan_translation_unit (cpp_reader *); static void scan_translation_unit_trad (cpp_reader *); -static void account_for_newlines (const uchar *, size_t); +static void account_for_newlines (const unsigned char *, size_t); static int dump_macro (cpp_reader *, cpp_hashnode *, void *); static void print_line (const struct line_map *, unsigned int, @@ -174,7 +174,7 @@ scan_translation_unit (cpp_reader *pfile) /* Adjust print.line for newlines embedded in output. */ static void -account_for_newlines (const uchar *str, size_t len) +account_for_newlines (const unsigned char *str, size_t len) { while (len--) if (*str++ == '\n') -- cgit v1.1