aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/generic/sys/ptrace.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fdaa7b8c42..d563edb11c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@
* sysdeps/generic/usleep.c: Fix typo.
+ * sysdeps/generic/sys/ptrace.h: Remove K&R compatibility.
+
* sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h
itself.
diff --git a/sysdeps/generic/sys/ptrace.h b/sysdeps/generic/sys/ptrace.h
index 47263e8dc3..d198d253e9 100644
--- a/sysdeps/generic/sys/ptrace.h
+++ b/sysdeps/generic/sys/ptrace.h
@@ -131,7 +131,7 @@ enum __ptrace_request
appear (those that are used for the particular request) as:
pid_t PID, void *ADDR, int DATA, void *ADDR2
after REQUEST. */
-extern int ptrace __P ((enum __ptrace_request __request __DOTS));
+extern int ptrace (enum __ptrace_request __request, ...);
__END_DECLS