aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.c
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@redhat.com>2002-06-12 22:57:45 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2002-06-12 22:57:45 +0000
commite03856fe956bdc94dc86c19d05f5f03af0f296f7 (patch)
tree7625beccd9803d12ee9437b5fcd7f9c4aaa581a8 /gcc/cpplib.c
parent83144cfcfaca44bb6d0cae7d2c0fa447193cb819 (diff)
downloadgcc-e03856fe956bdc94dc86c19d05f5f03af0f296f7.zip
gcc-e03856fe956bdc94dc86c19d05f5f03af0f296f7.tar.gz
gcc-e03856fe956bdc94dc86c19d05f5f03af0f296f7.tar.bz2
gengtype.h (xvasprintf): New prototype.
* gengtype.h (xvasprintf): New prototype. (xasprintf): New prototype. (struct outf): New. (get_output_file): Return an outf_p. (header_file): Is now an outf_p. (base_files): Now are outf_p. (oprintf): New. * gengtype.c: Replace all output FILE * with outf_p; use oprintf rather than stdio operations. Use xasprintf in a few places, when appropriate. (xvasprintf): New. (xasprintf): New. (struct filemap): Delete. (files): Delete. (output_files): New. (oprintf): New. (create_file): Create an outf_p. Add parameter to indicate output file name, change all callers. (open_base_files): Create gtype-desc.c here. (get_output_file_with_visibility): Rewrite. (get_output_file_name): Just look at 'name' field in struct outf. (close_output_files): Rewrite. From-SVN: r54566
Diffstat (limited to 'gcc/cpplib.c')
0 files changed, 0 insertions, 0 deletions