about summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog4
-rw-r--r--linuxthreads/sysdeps/s390/tls.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 52da3264ae..516664c3a1 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,5 +1,9 @@
 2003-01-30  Jakub Jelinek  <jakub@redhat.com>
 
+	* sysdeps/s390/tls.h (TLS_INIT_TP): Return NULL, not 0.
+
+2003-01-30  Jakub Jelinek  <jakub@redhat.com>
+
 	* sysdeps/alpha/tls.h (THREAD_GETMEM, THREAD_GETMEM_NC,
 	THREAD_SETMEM, THREAD_SETMEM_NC): Avoid warnings about unused self
 	variable.
diff --git a/linuxthreads/sysdeps/s390/tls.h b/linuxthreads/sysdeps/s390/tls.h
index 11f31ba88a..41a83a72fb 100644
--- a/linuxthreads/sysdeps/s390/tls.h
+++ b/linuxthreads/sysdeps/s390/tls.h
@@ -110,7 +110,7 @@ typedef struct
     head->self = _descr;						      \
 									      \
     __builtin_set_thread_pointer (_descr);				      \
-    0;									      \
+    NULL;								      \
   })
 
 /* Return the address of the dtv for the current thread.  */