1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +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

@@ -40,7 +40,7 @@ static void str_alloc_destroy_accu(void * accu);
/* Thread-safe version of str_accumulate */
char * str_accumulate(char * s)
char * str_accumulate(const char * s)
{
char * accu;
@@ -97,8 +97,8 @@ int main(int argc, char ** argv)
pthread_t th1, th2;
res = str_accumulate("Result of ");
pthread_create(&th1, NULL, process, "first");
pthread_create(&th2, NULL, process, "second");
pthread_create(&th1, NULL, process, (void *) "first");
pthread_create(&th2, NULL, process, (void *) "second");
res = str_accumulate("initial thread");
printf("Thread %lx: \"%s\"\n", pthread_self(), res);
pthread_join(th1, NULL);