summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/timer_settime.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-06-11 21:03:09 +0000
committerderaadt <deraadt@openbsd.org>2003-06-11 21:03:09 +0000
commitf723aa391085d188652b94aedd37f0dd94193fba (patch)
treee126833f2d9fa0dab58a426c7c390de874c0b447 /lib/libc/sys/timer_settime.c
parentsupport for NAT-T (draft-ietf-ipsec-udp-encaps-06.txt); ok deraadt@ (diff)
downloadwireguard-openbsd-f723aa391085d188652b94aedd37f0dd94193fba.tar.xz
wireguard-openbsd-f723aa391085d188652b94aedd37f0dd94193fba.zip
ansification; checked by pval
Diffstat (limited to 'lib/libc/sys/timer_settime.c')
-rw-r--r--lib/libc/sys/timer_settime.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/libc/sys/timer_settime.c b/lib/libc/sys/timer_settime.c
index 3925b89d393..22fb6dd40ad 100644
--- a/lib/libc/sys/timer_settime.c
+++ b/lib/libc/sys/timer_settime.c
@@ -1,5 +1,5 @@
#if defined(SYSLIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: timer_settime.c,v 1.4 1998/02/07 20:50:55 tholo Exp $";
+static char rcsid[] = "$OpenBSD: timer_settime.c,v 1.5 2003/06/11 21:03:10 deraadt Exp $";
#endif /* SYSLIBC_SCCS and not lint */
#include <signal.h>
@@ -10,11 +10,8 @@ struct itimerspec;
/* ARGSUSED */
int
-timer_settime(timerid, flags, value, ovalue)
- timer_t timerid;
- int flags;
- const struct itimerspec *value;
- struct itimerspec *ovalue;
+timer_settime(timer_t timerid, int flags, const struct itimerspec *value,
+ struct itimerspec *ovalue)
{
errno = ENOSYS;
return -1;