1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Add
	__ino64_t definition.
This commit is contained in:
Ulrich Drepper
1998-07-07 15:23:31 +00:00
parent 8bb4abf5cf
commit 0302fece01
10 changed files with 81 additions and 25 deletions

View File

@ -17,15 +17,15 @@ void * process(void * arg)
return NULL;
}
int main()
int main(void)
{
int retcode;
pthread_t th_a, th_b;
void * retval;
retcode = pthread_create(&th_a, NULL, process, "a");
retcode = pthread_create(&th_a, NULL, process, (void *) "a");
if (retcode != 0) fprintf(stderr, "create a failed %d\n", retcode);
retcode = pthread_create(&th_b, NULL, process, "b");
retcode = pthread_create(&th_b, NULL, process, (void *) "b");
if (retcode != 0) fprintf(stderr, "create b failed %d\n", retcode);
retcode = pthread_join(th_a, &retval);
if (retcode != 0) fprintf(stderr, "join a failed %d\n", retcode);
@ -33,4 +33,3 @@ int main()
if (retcode != 0) fprintf(stderr, "join b failed %d\n", retcode);
return 0;
}