From aab5b9fa88ab7f01052f35098bf360975600ac29 Mon Sep 17 00:00:00 2001 From: neil Date: Fri, 1 Aug 2003 14:04:02 +0000 Subject: * Makefile.in: Refine dependencies. * c-opts.c (c_common_handle_option): Do nothing for -Wimport. * c.opt: Update help for -Wimport. * cppfiles.c: Include hashtab.h. Update comments. (stack_file): Read the file before updating dependencies. (once_only_file_p): Be smarter about marking once-only files. (_cpp_mark_file_once_only): Correct the check for existence on the list. (open_file_failed): Use name not path, which is NULL. * cpphash.h: Don't include hashtab.h. (struct _cpp_file): Remove. (struct cpp_reader): Update. * cppinit.c (cpp_create_reader): Don't initialize warn_import. * cpplib.h (struct cpp_options): Remove warn_import. (cpp_simplify_path): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70045 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cpplib.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gcc/cpplib.h') diff --git a/gcc/cpplib.h b/gcc/cpplib.h index 7f5cfd4edd9..ca3f81422ad 100644 --- a/gcc/cpplib.h +++ b/gcc/cpplib.h @@ -267,9 +267,6 @@ struct cpp_options /* Nonzero means warn if there are any trigraphs. */ unsigned char warn_trigraphs; - /* Nonzero means warn if #import is used. */ - unsigned char warn_import; - /* Nonzero means warn about multicharacter charconsts. */ unsigned char warn_multichar; @@ -712,7 +709,6 @@ extern unsigned char *cpp_quote_string (unsigned char *, const unsigned char *, /* In cppfiles.c */ extern bool cpp_included (cpp_reader *, const char *); extern void cpp_make_system_header (cpp_reader *, int, int); -extern void cpp_simplify_path (char *); extern bool cpp_push_include (cpp_reader *, const char *); extern void cpp_change_file (cpp_reader *, enum lc_reason, const char *); -- cgit v1.2.1