diff options
author | Tom Tromey <tom@tromey.com> | 2023-11-06 09:31:03 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-11-06 20:31:12 -0700 |
commit | cf0d07fd07117934750e4bb94cfc0349e251afae (patch) | |
tree | 65c293cdc7e8b9e1b4a8c9926bde010f34678403 /gdb/nat | |
parent | e0da5ef09c56eec9cffee9683a6258998802a428 (diff) | |
download | binutils-cf0d07fd07117934750e4bb94cfc0349e251afae.zip binutils-cf0d07fd07117934750e4bb94cfc0349e251afae.tar.gz binutils-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/nat')
-rw-r--r-- | gdb/nat/linux-ptrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/nat/linux-ptrace.c b/gdb/nat/linux-ptrace.c index b80c7b8..e259f65 100644 --- a/gdb/nat/linux-ptrace.c +++ b/gdb/nat/linux-ptrace.c @@ -70,7 +70,7 @@ linux_ptrace_attach_fail_reason_string (ptid_t ptid, int err) #if defined __i386__ || defined __x86_64__ /* Address of the 'ret' instruction in asm code block below. */ -EXTERN_C void linux_ptrace_test_ret_to_nx_instr (void); +extern "C" void linux_ptrace_test_ret_to_nx_instr (void); #include <sys/reg.h> #include <sys/mman.h> |