diff options
Diffstat (limited to 'gdb/common/linux-ptrace.c')
-rw-r--r-- | gdb/common/linux-ptrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/common/linux-ptrace.c b/gdb/common/linux-ptrace.c index a35e94f8a09..cc90a5aba4c 100644 --- a/gdb/common/linux-ptrace.c +++ b/gdb/common/linux-ptrace.c @@ -64,7 +64,7 @@ linux_ptrace_attach_fail_reason (pid_t pid, struct buffer *buffer) #if defined __i386__ || defined __x86_64__ /* Address of the 'ret' instruction in asm code block below. */ -extern 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> |