diff options
Diffstat (limited to 'linuxthreads')
-rw-r--r-- | linuxthreads/ChangeLog | 4 | ||||
-rw-r--r-- | linuxthreads/pthread.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index 728eaf8966..814dba02b3 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,7 @@ +2002-08-23 Ulrich Drepper <drepper@redhat.com> + + * pthread.c (__linuxthreads_version): New global constant. + 2002-08-23 Andreas Jaeger <aj@suse.de> * sysdeps/x86_64/pt-machine.h: Use %fs instead of %gs diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c index b0ef7fb1be..1848bfb31d 100644 --- a/linuxthreads/pthread.c +++ b/linuxthreads/pthread.c @@ -33,6 +33,7 @@ #include <ldsodefs.h> #include <tls.h> #include <locale.h> /* for __uselocale */ +#include <version.h> /* Sanity check. */ #if __ASSUME_REALTIME_SIGNALS && !defined __SIGRTMIN @@ -238,6 +239,8 @@ const int __linuxthreads_pthread_sizeof_descr const int __linuxthreads_initial_report_events; +const char __linuxthreads_version[] = VERSION; + /* Forward declarations */ static void pthread_onexit_process(int retcode, void *arg); |