From 562a5c27c266280971055d4066ce9cba9403158b Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Sun, 21 Apr 2002 18:46:42 +0000 Subject: cppexp.c (struct op, [...]): Replace U_CHAR with uchar. * cppexp.c (struct op, parse_number): Replace U_CHAR with uchar. * cppfiles.c (read_include_file): Similarly. * cpphash.h (DSC, U_CHAR, ustrcmp, ustrncmp, ustrlen, uxstrdup ustrchr, ufputs): Similarly. * cppinit.c (TRIGRAPH_MAP, cpp_destroy): Similarly. * cpplex.c (parse_slow, unescaped_terminator_p, save_comment, cpp_ideq, parse_identifier, parse_number): Similarly. * cpplib.c (struct directive, dequote_string, D, run_directive, cpp_push_buffer): Similarly. * cppmacro.c (new_string_token, builtin_macro, cpp_quote_string, _cpp_create_definition, check_trad_stringification, cpp_macro_definition): Similarly. From-SVN: r52587 --- gcc/cppfiles.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gcc/cppfiles.c') diff --git a/gcc/cppfiles.c b/gcc/cppfiles.c index c1e6bfc..38780ad 100644 --- a/gcc/cppfiles.c +++ b/gcc/cppfiles.c @@ -375,7 +375,7 @@ read_include_file (pfile, inc) struct include_file *inc; { ssize_t size, offset, count; - U_CHAR *buf; + uchar *buf; #if MMAP_THRESHOLD static int pagesize = -1; #endif @@ -404,15 +404,15 @@ read_include_file (pfile, inc) if (SHOULD_MMAP (size, pagesize)) { - buf = (U_CHAR *) mmap (0, size, PROT_READ, MAP_PRIVATE, inc->fd, 0); - if (buf == (U_CHAR *)-1) + buf = (uchar *) mmap (0, size, PROT_READ, MAP_PRIVATE, inc->fd, 0); + if (buf == (uchar *)-1) goto perror_fail; inc->mapped = 1; } else #endif { - buf = (U_CHAR *) xmalloc (size + 1); + buf = (uchar *) xmalloc (size + 1); offset = 0; while (offset < size) { @@ -447,7 +447,7 @@ read_include_file (pfile, inc) bigger than the majority of C source files. */ size = 8 * 1024; - buf = (U_CHAR *) xmalloc (size + 1); + buf = (uchar *) xmalloc (size + 1); offset = 0; while ((count = read (inc->fd, buf + offset, size - offset)) > 0) { -- cgit v1.1