diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2003-07-22 16:24:53 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2003-07-22 16:24:53 +0000 |
commit | a2f7be91fc5f7347408fb24fe132194be4860bec (patch) | |
tree | f17d769828f9016a03c5e139b2664c5e6bed6bec /gcc/cppinit.c | |
parent | bef89e9e0929d4c17cfa23c0ab8c8cc3315a88c9 (diff) | |
download | gcc-a2f7be91fc5f7347408fb24fe132194be4860bec.zip gcc-a2f7be91fc5f7347408fb24fe132194be4860bec.tar.gz gcc-a2f7be91fc5f7347408fb24fe132194be4860bec.tar.bz2 |
hashtable.c (approx_sqrt): Make static.
* hashtable.c (approx_sqrt): Make static.
* hashtable.h: Don't prototype approx_sqrt.
* line-map.c (init_line_maps): Rename linemap_init.
(free_line_maps): Rename linemap_free.
(add_line_map): Rename linemap_add.
(lookup_line): Rename linemap_lookup.
(print_containing_files): Rename linemap_print_containing_files.
* linemap.h: Update to match.
* cpperror.c, cppinit.c, cpplib.c, cppmacro.c: Update calls to
linemap routines to use new names.
From-SVN: r69672
Diffstat (limited to 'gcc/cppinit.c')
-rw-r--r-- | gcc/cppinit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cppinit.c b/gcc/cppinit.c index d019ee8..e5011ef 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -163,7 +163,7 @@ cpp_create_reader (enum c_lang lang, hash_table *table) /* Initialize the line map. Start at logical line 1, so we can use a line number of zero for special states. */ - init_line_maps (&pfile->line_maps); + linemap_init (&pfile->line_maps); /* Initialize lexer state. */ pfile->state.save_comments = ! CPP_OPTION (pfile, discard_comments); @@ -252,7 +252,7 @@ cpp_destroy (cpp_reader *pfile) free (context); } - free_line_maps (&pfile->line_maps); + linemap_free (&pfile->line_maps); free (pfile); } |