summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1998-02-07 20:50:56 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1998-02-07 20:50:56 +0000
commitab2009da2bb3ca7262ba79210e4d6aaa9ccb87a8 (patch)
treebb9a18caddcc9f45b8e321d5bad93ee2378b74f8 /lib/libc
parentca78295e12adb08c9d191050e8d39c5908db7d82 (diff)
Forward declare structures to silence warnings
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/timer_create.c4
-rw-r--r--lib/libc/sys/timer_gettime.c4
-rw-r--r--lib/libc/sys/timer_settime.c4
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)