From ef5d6645960b1ad8b1af244be5d32b3b0d65201d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 17 Oct 1999 22:43:33 +0000 Subject: Update. 1999-10-17 Ulrich Drepper * elf/elf.h: Add various platform and architecture extensions. * locale/lc-collate.c (_nl_postload_collate): Disable code for now. * locale/setlocale.c (setlocale): Don't call _nl_find_locale for LC_ALL. * socket/sys/socket.h: Remove K&R compatibility. 1999-10-16 Andreas Jaeger * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo. 1999-10-15 Andreas Jaeger * stdlib/Makefile (tests): Added tst-xpg-basename. * stdlib/tst-xpg-basename.c: New test file. --- linuxthreads/ChangeLog | 4 ++++ linuxthreads/internals.h | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'linuxthreads') diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index faa2ec9420..b4a8cea5e0 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,7 @@ +1999-10-17 Ulrich Drepper + + * internals.h (PTHREAD_START_ARGS_INITIALIZER): Add cast. + 1999-10-14 Ulrich Drepper * pthread.c (__pthread_initial_thread): Pass argument to diff --git a/linuxthreads/internals.h b/linuxthreads/internals.h index b127512c11..4fa3381c72 100644 --- a/linuxthreads/internals.h +++ b/linuxthreads/internals.h @@ -72,7 +72,8 @@ struct pthread_key_struct { }; -#define PTHREAD_START_ARGS_INITIALIZER(fct) { fct, NULL, {{0, }}, 0, { 0 } } +#define PTHREAD_START_ARGS_INITIALIZER(fct) \ + { (void *(*) (void *)) fct, NULL, {{0, }}, 0, { 0 } } /* The type of thread descriptors */ -- cgit v1.2.3