summaryrefslogtreecommitdiff
path: root/gcc/cpplib.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2003-07-22 16:24:53 +0000
committerZack Weinberg <zack@gcc.gnu.org>2003-07-22 16:24:53 +0000
commita2f7be91fc5f7347408fb24fe132194be4860bec (patch)
treef17d769828f9016a03c5e139b2664c5e6bed6bec /gcc/cpplib.c
parentbef89e9e0929d4c17cfa23c0ab8c8cc3315a88c9 (diff)
downloadgcc-a2f7be91fc5f7347408fb24fe132194be4860bec.tar.gz
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/cpplib.c')
-rw-r--r--gcc/cpplib.c4
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);