From cf0d07fd07117934750e4bb94cfc0349e251afae Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 6 Nov 2023 09:31:03 -0700 Subject: 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 Approved-By: Andrew Burgess --- gdb/event-top.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/event-top.c') 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 -- cgit v1.1