summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/include/sched.h
diff options
context:
space:
mode:
authorart <art@openbsd.org>2000-06-27 19:53:55 +0000
committerart <art@openbsd.org>2000-06-27 19:53:55 +0000
commit784d3c02177579a73dd1f418085c2d7098aafcac (patch)
treee21a39fd6fcfb2fddb5c689dc28aafdfa35abe01 /lib/libpthread/include/sched.h
parentSlight optimization of wakeup. (diff)
downloadwireguard-openbsd-784d3c02177579a73dd1f418085c2d7098aafcac.tar.xz
wireguard-openbsd-784d3c02177579a73dd1f418085c2d7098aafcac.zip
forward declaration of struct timespec to avoid warning
Diffstat (limited to 'lib/libpthread/include/sched.h')
-rw-r--r--lib/libpthread/include/sched.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libpthread/include/sched.h b/lib/libpthread/include/sched.h
index 46f8e9703d8..d41663680fc 100644
--- a/lib/libpthread/include/sched.h
+++ b/lib/libpthread/include/sched.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sched.h,v 1.3 1999/11/25 07:01:29 d Exp $ */
+/* $OpenBSD: sched.h,v 1.4 2000/06/27 19:53:55 art Exp $ */
#ifndef _SCHED_H_
#define _SCHED_H_
@@ -68,6 +68,7 @@ int sched_getscheduler __P((pid_t));
int sched_yield __P((void));
int sched_get_priority_max __P((int));
int sched_get_priority_min __P((int));
+struct timespec;
int sched_rr_get_interval __P((pid_t, struct timespec *));
__END_DECLS