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/cppmacro.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/cppmacro.c')
-rw-r--r-- | gcc/cppmacro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cppmacro.c b/gcc/cppmacro.c index 1cf55ef..045d4e3 100644 --- a/gcc/cppmacro.c +++ b/gcc/cppmacro.c @@ -80,7 +80,7 @@ _cpp_warn_if_unused_macro (cpp_reader *pfile, cpp_hashnode *node, cpp_macro *macro = node->value.macro; if (!macro->used - && MAIN_FILE_P (lookup_line (&pfile->line_maps, macro->line))) + && MAIN_FILE_P (linemap_lookup (&pfile->line_maps, macro->line))) cpp_error_with_line (pfile, DL_WARNING, macro->line, 0, "macro \"%s\" is not used", NODE_NAME (node)); } |