diff options
author | 2001-08-04 14:43:53 +0000 | |
---|---|---|
committer | 2001-08-04 14:43:53 +0000 | |
commit | f0d0d12e5ec34453fa357b8e19e3cf1e87d362c8 (patch) | |
tree | 3fcea30fa08a2f102b8e086ca8b861ab7b896c51 /lib/libpthread/uthread | |
parent | pthread_mutexattr_* manpage; from FreeBSD. (diff) | |
download | wireguard-openbsd-f0d0d12e5ec34453fa357b8e19e3cf1e87d362c8.tar.xz wireguard-openbsd-f0d0d12e5ec34453fa357b8e19e3cf1e87d362c8.zip |
don't return on void.
Diffstat (limited to 'lib/libpthread/uthread')
-rw-r--r-- | lib/libpthread/uthread/uthread_yield.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libpthread/uthread/uthread_yield.c b/lib/libpthread/uthread/uthread_yield.c index 0dfaaf14438..055555dec6d 100644 --- a/lib/libpthread/uthread/uthread_yield.c +++ b/lib/libpthread/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 |