summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authornathanw <nathanw@NetBSD.org>2004-12-13 16:08:12 +0000
committernathanw <nathanw@NetBSD.org>2004-12-13 16:08:12 +0000
commit30b299d9651edba55b2c8a9e955cf7e4f7bae837 (patch)
treecd9c22e0ab097220ee09dbe8c3ef4eddab184da2 /include
parent50df45f4e5f3a7ca9350b285956d6b2175662155 (diff)
__libc_thr_yield() signature now matches sched_yield().
Pointed out by Kouichirou Hiratsuka on current-users.
Diffstat (limited to 'include')
-rw-r--r--include/sched.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sched.h b/include/sched.h
index 8bb540723f8..770a8e765bc 100644
--- a/include/sched.h
+++ b/include/sched.h
@@ -1,4 +1,4 @@
-/* $NetBSD: sched.h,v 1.5 2004/12/10 16:40:40 nathanw Exp $ */
+/* $NetBSD: sched.h,v 1.6 2004/12/13 16:08:12 nathanw Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -64,7 +64,7 @@ int sched_rr_get_interval(pid_t, struct timespec *);
/* Not optional in the presence of _POSIX_THREADS */
int sched_yield(void);
-void __libc_thr_yield(void);
+int __libc_thr_yield(void);
__END_DECLS
#ifndef __LIBPTHREAD_SOURCE__