aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.h
diff options
context:
space:
mode:
authorZack Weinberg <zack@wolery.cumb.org>2000-06-21 23:08:17 +0000
committerZack Weinberg <zack@gcc.gnu.org>2000-06-21 23:08:17 +0000
commite605b0403e89c0286910889cfca158bfc2567cfa (patch)
tree6e4efa3389b627b15921c495d03be0193553df87 /gcc/cpplib.h
parent229e1e4c03db3866f442610e2694dc6f97335ca7 (diff)
downloadgcc-e605b0403e89c0286910889cfca158bfc2567cfa.zip
gcc-e605b0403e89c0286910889cfca158bfc2567cfa.tar.gz
gcc-e605b0403e89c0286910889cfca158bfc2567cfa.tar.bz2
cppfiles.c (cpp_make_system_header): New function.
* cppfiles.c (cpp_make_system_header): New function. * cpplib.h: Prototype it. * cpplib.c (do_line, do_pragma_system_header): Use it. * fix-header.c (read_scan_file): Use it. * fix-header.c (check_macro_names): Cast second arg of cpp_defined to const unsigned char *. (read_scan_file): Make getchar_call const unsigned char. From-SVN: r34641
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r--gcc/cpplib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h
index e79c2c8..88efdf7 100644
--- a/gcc/cpplib.h
+++ b/gcc/cpplib.h
@@ -714,6 +714,8 @@ extern cpp_hashnode *cpp_lookup PARAMS ((cpp_reader *,
/* In cppfiles.c */
extern int cpp_included PARAMS ((cpp_reader *, const char *));
extern int cpp_read_file PARAMS ((cpp_reader *, const char *));
+extern void cpp_make_system_header PARAMS ((cpp_reader *,
+ cpp_buffer *, int));
#ifdef __cplusplus
}