diff options
Diffstat (limited to 'gcc/langhooks.h')
-rw-r--r-- | gcc/langhooks.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/langhooks.h b/gcc/langhooks.h index 299efcd8a92..83e2e5abdb9 100644 --- a/gcc/langhooks.h +++ b/gcc/langhooks.h @@ -133,6 +133,10 @@ struct lang_hooks_for_decls /* Returns the chain of decls so far in the current scope level. */ tree (*getdecls) PARAMS ((void)); + + /* Returns true when we should warn for an unused global DECL. + We will already have checked that it has static binding. */ + bool (*warn_unused_global) PARAMS ((tree)); }; /* Language-specific hooks. See langhooks-def.h for defaults. */ |