diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-22 16:24:53 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-22 16:24:53 +0000 |
commit | 196ce2be08fd069883a729ae364646eb4ea67452 (patch) | |
tree | f17d769828f9016a03c5e139b2664c5e6bed6bec /gcc/cpplib.c | |
parent | 670f67e2c31c89185002062d58b2e14b046cd1b8 (diff) | |
download | gcc-196ce2be08fd069883a729ae364646eb4ea67452.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69672 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r-- | gcc/cpplib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c index 69a1169c8e2..b732c305aa3 100644 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -898,8 +898,8 @@ _cpp_do_file_change (cpp_reader *pfile, enum lc_reason reason, const char *to_file, unsigned int file_line, unsigned int sysp) { - pfile->map = add_line_map (&pfile->line_maps, reason, sysp, - pfile->line, to_file, file_line); + pfile->map = linemap_add (&pfile->line_maps, reason, sysp, + pfile->line, to_file, file_line); if (pfile->cb.file_change) pfile->cb.file_change (pfile, pfile->map); |