summaryrefslogtreecommitdiff
path: root/lib/libc_r/uthread
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-08-04 14:43:54 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-08-04 14:43:54 +0000
commit76bc0f411077a88fc4dcf24a69305d6204b62369 (patch)
tree2093163e3218617391f9943924c4fa765982cd4a /lib/libc_r/uthread
parent4907decfa011c0eb3de29345eae81c75355576a6 (diff)
don't return on void.
Diffstat (limited to 'lib/libc_r/uthread')
-rw-r--r--lib/libc_r/uthread/uthread_yield.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libc_r/uthread/uthread_yield.c b/lib/libc_r/uthread/uthread_yield.c
index 0dfaaf14438..055555dec6d 100644
--- a/lib/libc_r/uthread/uthread_yield.c
+++ b/lib/libc_r/uthread/uthread_yield.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_yield.c,v 1.3 1999/11/25 07:01:47 d Exp $ */
+/* $OpenBSD: uthread_yield.c,v 1.4 2001/08/04 14:43:53 fgsch Exp $ */
/*
* Copyright (c) 1995 John Birrell <jb@cimlogic.com.au>.
* All rights reserved.
@@ -58,8 +58,5 @@ pthread_yield(void)
/* Schedule the next thread: */
_thread_kern_sched(NULL);
-
- /* Nothing to return. */
- return;
}
#endif