summaryrefslogtreecommitdiffstats
path: root/sys/sys/thr.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2007-06-07 19:45:19 +0000
committerjhb <jhb@FreeBSD.org>2007-06-07 19:45:19 +0000
commit14724f6bf859d37f97ee639474897bf488e86986 (patch)
tree7a56af44eb40012604dc8a767ad59cd9f4ae0144 /sys/sys/thr.h
parentdc29a4eb643e4e3d15b1b9d3ce356451106c984d (diff)
downloadFreeBSD-src-14724f6bf859d37f97ee639474897bf488e86986.zip
FreeBSD-src-14724f6bf859d37f97ee639474897bf488e86986.tar.gz
- Remove unused variable from create_thread().
- Move kern_thr_*() prototype to <sys/syscallsubr.h> where all the other kern_*() prototypes live.
Diffstat (limited to 'sys/sys/thr.h')
-rw-r--r--sys/sys/thr.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/sys/thr.h b/sys/sys/thr.h
index bcf1ef9..6331a7a 100644
--- a/sys/sys/thr.h
+++ b/sys/sys/thr.h
@@ -64,10 +64,7 @@ int thr_kill(long id, int sig);
int thr_suspend(const struct timespec *timeout);
int thr_wake(long id);
int thr_set_name(long id, const char *name);
-#else
-struct thread;
-int kern_thr_new(struct thread *td, struct thr_param *param);
-int kern_thr_suspend(struct thread *, struct timespec *);
+
#endif /* !_KERNEL */
#endif /* ! _SYS_THR_H_ */
OpenPOWER on IntegriCloud