mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 01:01:06 +00:00
Add missing stdlib.h header
Apply some minor style(9) fixes MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
75743a83e4
commit
5ef13c482d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=291984
|
@ -9,11 +9,13 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <pthread.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
int __thread n;
|
||||
|
||||
void *f1(void *arg)
|
||||
void
|
||||
*f1(void *arg)
|
||||
{
|
||||
if (n != 0) {
|
||||
printf("bug, n == %d \n", n);
|
||||
|
@ -23,7 +25,8 @@ void *f1(void *arg)
|
|||
return (0);
|
||||
}
|
||||
|
||||
int main()
|
||||
int
|
||||
main(void)
|
||||
{
|
||||
pthread_t td;
|
||||
int i;
|
||||
|
|
Loading…
Reference in a new issue