summaryrefslogtreecommitdiff
path: root/gcc/cpphash.h
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-01 14:04:02 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-01 14:04:02 +0000
commitaab5b9fa88ab7f01052f35098bf360975600ac29 (patch)
tree186dff8557e01e179836315ff7e9868a89ea1f7b /gcc/cpphash.h
parent942ab15bc1a3ec6a744bca6ee544ad0cd3459949 (diff)
downloadgcc-aab5b9fa88ab7f01052f35098bf360975600ac29.tar.gz
* 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
Diffstat (limited to 'gcc/cpphash.h')
-rw-r--r--gcc/cpphash.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/cpphash.h b/gcc/cpphash.h
index e4378cb89d0..951dd2f4101 100644
--- a/gcc/cpphash.h
+++ b/gcc/cpphash.h
@@ -24,7 +24,6 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define GCC_CPPHASH_H
#include "hashtable.h"
-#include "hashtab.h"
#ifdef HAVE_ICONV
#include <iconv.h>
@@ -37,7 +36,6 @@ struct directive; /* Deliberately incomplete. */
struct pending_option;
struct op;
struct strbuf;
-struct _cpp_file;
typedef bool (*convert_f) (iconv_t, const unsigned char *, size_t,
struct strbuf *);
@@ -365,7 +363,7 @@ struct cpp_reader
struct _cpp_file *once_only_files;
/* File and directory hash table. */
- htab_t file_hash;
+ struct htab *file_hash;
struct file_hash_entry *file_hash_entries;
unsigned int file_hash_entries_allocated, file_hash_entries_used;