diff options
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r-- | gcc/c-decl.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index cea26052a9e..6e359a9f41e 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -845,14 +845,12 @@ objc_mark_locals_volatile (void *enclosing_blk) } } -/* Nonzero if we are currently in file scope. */ +/* Return true if we are in the global binding level. */ -int +bool global_bindings_p (void) { - return (current_scope == file_scope && !c_override_global_bindings_to_false - ? -1 - : 0); + return current_scope == file_scope && !c_override_global_bindings_to_false; } void |