diff options
author | 1998-02-07 20:50:54 +0000 | |
---|---|---|
committer | 1998-02-07 20:50:54 +0000 | |
commit | e513f4c5a3cf0cb384ac0889337f28bea1a6cef4 (patch) | |
tree | bf16ecbf84d92e7b9f2f423579adcd29a562ea92 /lib/libc | |
parent | strftime is no longer in this directory (diff) | |
download | wireguard-openbsd-e513f4c5a3cf0cb384ac0889337f28bea1a6cef4.tar.xz wireguard-openbsd-e513f4c5a3cf0cb384ac0889337f28bea1a6cef4.zip |
Forward declare structures to silence warnings
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/timer_create.c | 4 | ||||
-rw-r--r-- | lib/libc/sys/timer_gettime.c | 4 | ||||
-rw-r--r-- | lib/libc/sys/timer_settime.c | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/lib/libc/sys/timer_create.c b/lib/libc/sys/timer_create.c index 55b147a5fbb..9b5ca7d3f56 100644 --- a/lib/libc/sys/timer_create.c +++ b/lib/libc/sys/timer_create.c @@ -1,11 +1,13 @@ #if defined(SYSLIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: timer_create.c,v 1.3 1997/04/30 05:49:28 tholo Exp $"; +static char rcsid[] = "$OpenBSD: timer_create.c,v 1.4 1998/02/07 20:50:54 tholo Exp $"; #endif /* SYSLIBC_SCCS and not lint */ #include <signal.h> #include <time.h> #include <errno.h> +struct sigevent; + /* ARGSUSED */ int timer_create(clock_id, evp, timerid) diff --git a/lib/libc/sys/timer_gettime.c b/lib/libc/sys/timer_gettime.c index 6c038788fc3..acbfdc8cd75 100644 --- a/lib/libc/sys/timer_gettime.c +++ b/lib/libc/sys/timer_gettime.c @@ -1,11 +1,13 @@ #if defined(SYSLIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: timer_gettime.c,v 1.3 1997/04/30 05:49:30 tholo Exp $"; +static char rcsid[] = "$OpenBSD: timer_gettime.c,v 1.4 1998/02/07 20:50:55 tholo Exp $"; #endif /* SYSLIBC_SCCS and not lint */ #include <signal.h> #include <time.h> #include <errno.h> +struct itimerspec; + /* ARGSUSED */ int timer_gettime(timerid, value) diff --git a/lib/libc/sys/timer_settime.c b/lib/libc/sys/timer_settime.c index cbf5e07f35c..3925b89d393 100644 --- a/lib/libc/sys/timer_settime.c +++ b/lib/libc/sys/timer_settime.c @@ -1,11 +1,13 @@ #if defined(SYSLIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: timer_settime.c,v 1.3 1997/04/30 05:49:30 tholo Exp $"; +static char rcsid[] = "$OpenBSD: timer_settime.c,v 1.4 1998/02/07 20:50:55 tholo Exp $"; #endif /* SYSLIBC_SCCS and not lint */ #include <signal.h> #include <time.h> #include <errno.h> +struct itimerspec; + /* ARGSUSED */ int timer_settime(timerid, flags, value, ovalue) |