1
0
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:
Konstantin Belousov 2016-04-08 10:59:06 +00:00
parent ce45969226
commit 5c43c9a105
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=297704
3 changed files with 5 additions and 4 deletions

View File

@ -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)

View File

@ -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: */

View File

@ -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: */