diff --git a/include/time.h b/include/time.h index bffdbc415977..6f38503bf4d2 100644 --- a/include/time.h +++ b/include/time.h @@ -1,4 +1,4 @@ -/* $NetBSD: time.h,v 1.31 2003/08/07 09:44:11 agc Exp $ */ +/* $NetBSD: time.h,v 1.32 2003/09/13 22:31:04 kleink Exp $ */ /* * Copyright (c) 1989, 1993 @@ -139,12 +139,13 @@ int clock_getres __P((clockid_t, struct timespec *)); int clock_gettime __P((clockid_t, struct timespec *)); int clock_settime __P((clockid_t, const struct timespec *)); int nanosleep __P((const struct timespec *, struct timespec *)); -int timer_create __P((clockid_t, struct sigevent *, timer_t *)); +int timer_create __P((clockid_t, struct sigevent * __restrict, + timer_t * __restrict)); int timer_delete __P((timer_t)); int timer_getoverrun __P((timer_t)); int timer_gettime __P((timer_t, struct itimerspec *)); -int timer_settime __P((timer_t, int, const struct itimerspec *, - struct itimerspec *)); +int timer_settime __P((timer_t, int, const struct itimerspec * __restrict, + struct itimerspec * __restrict)); #endif /* _POSIX_C_SOURCE >= 199309 || _XOPEN_SOURCE >= 500 || ... */ #if (_POSIX_C_SOURCE - 0) >= 199506L || (_XOPEN_SOURCE - 0) >= 500 || \ diff --git a/lib/libc/sys/timer_create.2 b/lib/libc/sys/timer_create.2 index 5144b14cee69..d65cf1ef7ce2 100644 --- a/lib/libc/sys/timer_create.2 +++ b/lib/libc/sys/timer_create.2 @@ -1,4 +1,4 @@ -.\" $NetBSD: timer_create.2,v 1.1 2003/09/13 22:22:30 christos Exp $ +.\" $NetBSD: timer_create.2,v 1.2 2003/09/13 22:31:04 kleink Exp $ .\" .\" Copyright (c) 2003 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -46,7 +46,7 @@ .In time.h .In signal.h .Ft int -.Fn timer_create "clockid_t clockid" "struct sigevent *evp" "timer_t *timerid" +.Fn timer_create "clockid_t clockid" "struct sigevent * restrict evp" "timer_t * restrict timerid" .Sh DESCRIPTION The .Fn timer_create diff --git a/lib/libc/sys/timer_settime.2 b/lib/libc/sys/timer_settime.2 index 217a5caa1217..c67f453a0b67 100644 --- a/lib/libc/sys/timer_settime.2 +++ b/lib/libc/sys/timer_settime.2 @@ -1,4 +1,4 @@ -.\" $NetBSD: timer_settime.2,v 1.1 2003/09/13 22:22:30 christos Exp $ +.\" $NetBSD: timer_settime.2,v 1.2 2003/09/13 22:31:04 kleink Exp $ .\" .\" Copyright (c) 2003 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -45,7 +45,7 @@ .Sh SYNOPSIS .In time.h .Ft int -.Fn timer_settime "timer_t timerid" "int flags" "const struct itimerspec *tim" "struct itimerspec *otim" +.Fn timer_settime "timer_t timerid" "int flags" "const struct itimerspec * restrict tim" "struct itimerspec * restrict otim" .Ft int .Fn timer_gettime "timer_t timerid" "struct itimerspec *tim" .Ft int