diff options
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)); } |