aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpphash.h
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2003-08-01 14:04:02 +0000
committerNeil Booth <neil@gcc.gnu.org>2003-08-01 14:04:02 +0000
commitbf42e45b205e05a710de0e9fe0fc33e668fdb891 (patch)
tree186dff8557e01e179836315ff7e9868a89ea1f7b /gcc/cpphash.h
parenta5bcc58230c173c6923908cd7622dca7240f18de (diff)
downloadgcc-bf42e45b205e05a710de0e9fe0fc33e668fdb891.zip
gcc-bf42e45b205e05a710de0e9fe0fc33e668fdb891.tar.gz
gcc-bf42e45b205e05a710de0e9fe0fc33e668fdb891.tar.bz2
Makefile.in: Refine dependencies.
* 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. From-SVN: r70045
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 e4378cb..951dd2f 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;