mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-03 09:00:21 +00:00
Use ANSI C function definitions, fix spelling in a comment.
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
ce45969226
commit
5c43c9a105
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=297704
@ -37,10 +37,10 @@
|
||||
__weak_reference(_pthread_main_np, pthread_main_np);
|
||||
|
||||
/*
|
||||
* Provide the equivelant to Solaris thr_main() function
|
||||
* Provide the equivalent to Solaris thr_main() function.
|
||||
*/
|
||||
int
|
||||
_pthread_main_np()
|
||||
_pthread_main_np(void)
|
||||
{
|
||||
|
||||
if (!_thr_initial)
|
||||
|
@ -37,7 +37,7 @@
|
||||
__weak_reference(_pthread_multi_np, pthread_multi_np);
|
||||
|
||||
int
|
||||
_pthread_multi_np()
|
||||
_pthread_multi_np(void)
|
||||
{
|
||||
|
||||
/* Return to multi-threaded scheduling mode: */
|
||||
|
@ -36,7 +36,8 @@
|
||||
|
||||
__weak_reference(_pthread_single_np, pthread_single_np);
|
||||
|
||||
int _pthread_single_np()
|
||||
int
|
||||
_pthread_single_np(void)
|
||||
{
|
||||
|
||||
/* Enter single-threaded (non-POSIX) scheduling mode: */
|
||||
|
Loading…
Reference in New Issue
Block a user