summaryrefslogtreecommitdiff
path: root/gdb/amd64-bsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/amd64-bsd-nat.c')
-rw-r--r--gdb/amd64-bsd-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/amd64-bsd-nat.c b/gdb/amd64-bsd-nat.c
index 1ff044ff47..04322c7037 100644
--- a/gdb/amd64-bsd-nat.c
+++ b/gdb/amd64-bsd-nat.c
@@ -36,7 +36,7 @@
#include "amd64-bsd-nat.h"
-static int
+static PTRACE_TYPE_RET
gdb_ptrace (PTRACE_TYPE_ARG1 request, ptid_t ptid, PTRACE_TYPE_ARG3 addr,
PTRACE_TYPE_ARG4 data)
{