Add extern "C" to declarations of C symbols
[deliverable/binutils-gdb.git] / gdb / nat / linux-ptrace.c
index 1c6781957465369864cd1e40781945790b2085ad..2244d9d5792d9bb71ced17a86fa353817fe185e1 100644 (file)
@@ -84,7 +84,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 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>
This page took 0.023707 seconds and 4 git commands to generate.