diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2002-04-21 18:46:42 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2002-04-21 18:46:42 +0000 |
commit | 562a5c27c266280971055d4066ce9cba9403158b (patch) | |
tree | 3ea24655d8eabfdaf624b6cb32ed7b761c98617f /gcc/cppfiles.c | |
parent | 9ac3b1bec7b58c6ad4a76782b1116dfb5f4cd0c6 (diff) | |
download | gcc-562a5c27c266280971055d4066ce9cba9403158b.zip gcc-562a5c27c266280971055d4066ce9cba9403158b.tar.gz gcc-562a5c27c266280971055d4066ce9cba9403158b.tar.bz2 |
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
Diffstat (limited to 'gcc/cppfiles.c')
-rw-r--r-- | gcc/cppfiles.c | 10 |
1 files changed, 5 insertions, 5 deletions
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) { |