aboutsummaryrefslogtreecommitdiff
path: root/gdb/event-top.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-11-06 09:31:03 -0700
committerTom Tromey <tom@tromey.com>2023-11-06 20:31:12 -0700
commitcf0d07fd07117934750e4bb94cfc0349e251afae (patch)
tree65c293cdc7e8b9e1b4a8c9926bde010f34678403 /gdb/event-top.c
parente0da5ef09c56eec9cffee9683a6258998802a428 (diff)
downloadfsf-binutils-gdb-cf0d07fd07117934750e4bb94cfc0349e251afae.zip
fsf-binutils-gdb-cf0d07fd07117934750e4bb94cfc0349e251afae.tar.gz
fsf-binutils-gdb-cf0d07fd07117934750e4bb94cfc0349e251afae.tar.bz2
Remove EXTERN_C and related defines
common-defs.h has a few defines that I suspect were used during the transition to C++. These aren't needed any more, so remove them. Tested by rebuilding. Approved-By: Simon Marchi <simon.marchi@efficios.com> Approved-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'gdb/event-top.c')
-rw-r--r--gdb/event-top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/event-top.c b/gdb/event-top.c
index 3d6fa89..9886ca4 100644
--- a/gdb/event-top.c
+++ b/gdb/event-top.c
@@ -138,7 +138,7 @@ static struct async_signal_handler *async_sigterm_token;
void (*after_char_processing_hook) (void);
#if RL_VERSION_MAJOR == 7
-EXTERN_C void _rl_signal_handler (int);
+extern "C" void _rl_signal_handler (int);
#endif
/* Wrapper function for calling into the readline library. This takes