aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpperror.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/cpperror.c
parentbef89e9e0929d4c17cfa23c0ab8c8cc3315a88c9 (diff)
downloadgcc-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/cpperror.c')
-rw-r--r--gcc/cpperror.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cpperror.c b/gcc/cpperror.c
index ceb4b93..310631d 100644
--- a/gcc/cpperror.c
+++ b/gcc/cpperror.c
@@ -44,8 +44,8 @@ print_location (cpp_reader *pfile, unsigned int line, unsigned int col)
{
const struct line_map *map;
- map = lookup_line (&pfile->line_maps, line);
- print_containing_files (&pfile->line_maps, map);
+ map = linemap_lookup (&pfile->line_maps, line);
+ linemap_print_containing_files (&pfile->line_maps, map);
line = SOURCE_LINE (map, line);
if (col == 0)