summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-10-27 09:17:20 +0000
committerUlrich Drepper <drepper@redhat.com>1998-10-27 09:17:20 +0000
commitcc3688877a3d7cae186dbb29a43221fc0b6a7f33 (patch)
tree2b432602774b48407959f105c3432c3b2a4e2d5f
parenta8eab8b1402ceff505b0cdee440c02a72cc4307d (diff)
downloadglibc-cc3688877a3d7cae186dbb29a43221fc0b6a7f33.tar.gz
glibc-cc3688877a3d7cae186dbb29a43221fc0b6a7f33.tar.xz
glibc-cc3688877a3d7cae186dbb29a43221fc0b6a7f33.zip
Update.
1998-10-27  Ulrich Drepper  <drepper@cygnus.com>

	* signal/signal.h: Include bits/sigthread.h only for Unix98.
-rw-r--r--ChangeLog4
-rw-r--r--signal/signal.h6
2 files changed, 6 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index a63aaeea85..c25399e7fd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1998-10-27  Ulrich Drepper  <drepper@cygnus.com>
+
+	* signal/signal.h: Include bits/sigthread.h only for Unix98.
+
 1998-10-26  Ulrich Drepper  <drepper@cygnus.com>
 
 	* include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
diff --git a/signal/signal.h b/signal/signal.h
index efbe36d378..107650f113 100644
--- a/signal/signal.h
+++ b/signal/signal.h
@@ -39,7 +39,7 @@ __BEGIN_DECLS
 #  undef __need_sig_atomic_t
 #  define __sig_atomic_t_defined 1
 typedef __sig_atomic_t sig_atomic_t;
-# endif 
+# endif
 #endif
 
 #ifndef __sigset_t_defined
@@ -335,13 +335,11 @@ extern int sigignore __P ((int __sig));
 
 /* Set the disposition of SIG.  */
 extern __sighandler_t sigset __P ((int __sig, __sighandler_t __disp));
-#endif /* use Unix98 */
 
-#ifdef __USE_POSIX199506
 /* Some of the functions for handling signals in threaded programs must
    be defined here.  */
 # include <bits/sigthread.h>
-#endif
+#endif /* use Unix98 */
 
 /* The following functions are used internally in the C library and in
    other code which need deep insights.  */