diff options
author | Tom Tromey <tromey@adacore.com> | 2020-04-08 14:33:35 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-04-08 14:47:58 -0600 |
commit | a00caa12790706017c9331ad984b4f6b102db1b6 (patch) | |
tree | 00de3d01df99db0d4e16e5f392661fafecdf7ed3 /libiberty/rename.c | |
parent | d41b524f45fa1f02716bc41f64fb85a42dcec164 (diff) | |
download | gdb-a00caa12790706017c9331ad984b4f6b102db1b6.zip gdb-a00caa12790706017c9331ad984b4f6b102db1b6.tar.gz gdb-a00caa12790706017c9331ad984b4f6b102db1b6.tar.bz2 |
Fix up complaints.h for namespace use
If 'complaint' is used in a namespace context, it will fail because
'stop_whining' is only declared at the top level. This patch fixes
this problem in a simple way, by moving the declaration of
'stop_whining' out of the macro and to the top-level.
gdb/ChangeLog
2020-04-08 Tom Tromey <tromey@adacore.com>
* complaints.h (stop_whining): Declare at top-level.
(complaint): Don't declare stop_whining.
Diffstat (limited to 'libiberty/rename.c')
0 files changed, 0 insertions, 0 deletions