diff options
author | Steven Bosscher <steven@gcc.gnu.org> | 2004-01-19 08:38:38 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2004-01-19 08:38:38 +0000 |
commit | 8c80adb754abf2db9f949d2cc6047002d624411e (patch) | |
tree | 258751a7798c885210d853b71d50bf2c5d3fa374 | |
parent | 0ede749d962489a7fbc3876ea6466f12d0d1fbbf (diff) | |
download | gcc-8c80adb754abf2db9f949d2cc6047002d624411e.zip gcc-8c80adb754abf2db9f949d2cc6047002d624411e.tar.gz gcc-8c80adb754abf2db9f949d2cc6047002d624411e.tar.bz2 |
gengtype.c (header_file): Make it static.
* gengtype.c (header_file): Make it static.
(write_types_process_field, write_enum_defn): Minor whitespace fixes.
* gengtype.h (header_file): No longer extern.
From-SVN: r76140
-rw-r--r-- | gcc/ChangeLog | 14 | ||||
-rw-r--r-- | gcc/gengtype.c | 8 | ||||
-rw-r--r-- | gcc/gengtype.h | 4 |
3 files changed, 14 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d757597..5d732db 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-01-19 Steven Bosscher <stevenb@suse.de> + + * gengtype.c (header_file): Make it static. + (write_types_process_field, write_enum_defn): Minor whitespace fixes. + * gengtype.h (header_file): No longer extern. + 2004-01-18 Kazu Hirata <kazu@cs.umass.edu> * defaults.h (CASE_VECTOR_PC_RELATIVE): Provide the default. @@ -331,11 +337,11 @@ 2004-01-16 Jan Hubicka <jh@suse.cz> - PR opt/11350 - * cfgcleanup.c (try_optimize_cfg): Suppress tablejump removal + PR opt/11350 + * cfgcleanup.c (try_optimize_cfg): Suppress tablejump removal after reload. - * cfgrtl.c (rtl_can_merge_blocks, cfglayout_can_merge_blocks, - rtl_try_redirect_by_replacing_branch): Likewise. + * cfgrtl.c (rtl_can_merge_blocks, cfglayout_can_merge_blocks, + rtl_try_redirect_by_replacing_branch): Likewise. 2004-01-15 Geoffrey Keating <geoffk@apple.com> diff --git a/gcc/gengtype.c b/gcc/gengtype.c index 6655d3c..db3020d 100644 --- a/gcc/gengtype.c +++ b/gcc/gengtype.c @@ -980,7 +980,7 @@ static outf_p output_files; /* The output header file that is included into pretty much every source file. */ -outf_p header_file; +static outf_p header_file; /* Number of files specified in gtfiles. */ #define NUM_GT_FILES (ARRAY_SIZE (all_files) - 1) @@ -1911,8 +1911,8 @@ write_types_process_field (type_p f, const struct walk_type_data *d) */ static void -write_func_for_structure (type_p orig_s, type_p s, type_p *param, - const struct write_types_data *wtd) +write_func_for_structure (type_p orig_s, type_p s, type_p *param, + const struct write_types_data *wtd) { const char *fn = s->u.s.line.file; int i; @@ -2306,7 +2306,7 @@ write_local (type_p structures, type_p param_structs) /* Write out the 'enum' definition for gt_types_enum. */ static void -write_enum_defn (type_p structures, type_p param_structs) +write_enum_defn (type_p structures, type_p param_structs) { type_p s; diff --git a/gcc/gengtype.h b/gcc/gengtype.h index 3a3157e..de26592 100644 --- a/gcc/gengtype.h +++ b/gcc/gengtype.h @@ -156,10 +156,6 @@ struct outf typedef struct outf * outf_p; -/* The output header file that is included into pretty much every - source file. */ -extern outf_p header_file; - /* An output file, suitable for definitions, that can see declarations made in INPUT_FILE and is linked into every language that uses INPUT_FILE. */ |