about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--linuxthreads/ChangeLog5
-rw-r--r--linuxthreads/pthread.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index fb665383aa..64b71117c0 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,8 @@
+2002-12-21  Ulrich Drepper  <drepper@redhat.com>
+
+	* pthread.c (init_rtsigs): Remove incomplete __builtin_expect.
+	Reported by Art Hass <ahaas@airmail.net>.
+
 2002-12-19  Jakub Jelinek  <jakub@redhat.com>
 
 	* forward.c (pthread_attr_init_2_0, pthread_attr_init_2_1):
diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c
index 7fc5ef6ff4..b194fcacea 100644
--- a/linuxthreads/pthread.c
+++ b/linuxthreads/pthread.c
@@ -194,7 +194,7 @@ init_rtsigs (void)
   if (rtsigs_initialized)
     return;
 
-  if (__builtin_expect (__libc_current_sigrtmin_private () == -1))
+  if (__libc_current_sigrtmin_private () == -1)
     {
       __pthread_sig_restart = SIGUSR1;
       __pthread_sig_cancel = SIGUSR2;