diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2001-08-04 14:43:54 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2001-08-04 14:43:54 +0000 |
commit | 76bc0f411077a88fc4dcf24a69305d6204b62369 (patch) | |
tree | 2093163e3218617391f9943924c4fa765982cd4a /lib/libpthread | |
parent | 4907decfa011c0eb3de29345eae81c75355576a6 (diff) |
don't return on void.
Diffstat (limited to 'lib/libpthread')
-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 |