* src/vcg.c (open_edge, close_edge, open_node, close_node): Change

to output informations in fout (FILE*).
(open_graph, close_graph): Likewise.
(output_graph, output_edge, output_node): Likewise.
* src/vcg.h: Update function prototypes.
* src/print_graph.c (print_graph): Open output graph file.
(print_actions): Adjust.
* src/files.h: Remove extern declaration.
* src/files.c: Remove graph_obstack declaration.
(open_files): Remove graph_obstack initialization.
(output_files): Remove graph_obstack saving.
This commit is contained in:
Marc Autret
2001-09-24 15:54:18 +00:00
parent 330de47708
commit 9190f3e726
6 changed files with 215 additions and 211 deletions

View File

@@ -34,7 +34,6 @@ struct obstack table_obstack;
struct obstack defines_obstack;
struct obstack guard_obstack;
struct obstack output_obstack;
struct obstack graph_obstack;
char *spec_outfile = NULL; /* for -o. */
char *spec_file_prefix = NULL; /* for -b. */
@@ -442,7 +441,6 @@ open_files (void)
obstack_init (&defines_obstack);
obstack_init (&guard_obstack);
obstack_init (&output_obstack);
obstack_init (&graph_obstack);
}
@@ -491,7 +489,4 @@ output_files (void)
#endif /* MSDOS */
obstack_save (&guard_obstack, temp_name);
}
if (graph_flag)
obstack_save (&graph_obstack, spec_graph_file);
}