about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-12-02 00:14:25 +0000
committerUlrich Drepper <drepper@redhat.com>1999-12-02 00:14:25 +0000
commite099035591cffba3b024f6cddeb90f8ac5e45bfd (patch)
tree54b3b0a28e6835995cbaa526abc629cef42ffe9e
parentf27094e0c9feac6883c11602fde05d1078de790c (diff)
downloadglibc-e099035591cffba3b024f6cddeb90f8ac5e45bfd.tar.gz
glibc-e099035591cffba3b024f6cddeb90f8ac5e45bfd.tar.xz
glibc-e099035591cffba3b024f6cddeb90f8ac5e45bfd.zip
Update.
	* sysdeps/generic/sys/ptrace.h: Remove K&R compatibility.
-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