summary refs log tree commit diff
path: root/sysdeps/mach
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-05-21 00:05:00 +0000
committerUlrich Drepper <drepper@redhat.com>1997-05-21 00:05:00 +0000
commit6750d9b09077b172f52ed5b6d11cbb1a2a24968e (patch)
tree3c3dd86386e97896c40d01092cc8cc467afe75b7 /sysdeps/mach
parent716a8a8a1a93f7f2402be45902d20ecf9571c461 (diff)
downloadglibc-6750d9b09077b172f52ed5b6d11cbb1a2a24968e.tar.gz
glibc-6750d9b09077b172f52ed5b6d11cbb1a2a24968e.tar.xz
glibc-6750d9b09077b172f52ed5b6d11cbb1a2a24968e.zip
Make second argument of setitimer const.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/hurd/setitimer.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sysdeps/mach/hurd/setitimer.c b/sysdeps/mach/hurd/setitimer.c
index 6cad6eab2e..b0e70e89f9 100644
--- a/sysdeps/mach/hurd/setitimer.c
+++ b/sysdeps/mach/hurd/setitimer.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -16,7 +16,6 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
-#include <ansidecl.h>
 #include <stddef.h>
 #include <errno.h>
 #include <sys/time.h>
@@ -310,9 +309,8 @@ setitimer_locked (const struct itimerval *new, struct itimerval *old,
    set *OLD to the old value of timer WHICH.
    Returns 0 on success, -1 on errors.  */
 int
-DEFUN(__setitimer, (which, new, old),
-      enum __itimer_which which AND
-      struct itimerval *new AND struct itimerval *old)
+__setitimer (enum __itimer_which which, const struct itimerval *new,
+	     struct itimerval *old)
 {
   void *crit;