From 7e986b8b0dd8c57b6976cba6579bbaa190db875b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 27 Oct 1998 12:07:44 +0000 Subject: Update. * signal/signal.h: Don't include for timespec, add forward declaration. --- ChangeLog | 3 +++ signal/signal.h | 7 +++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5845254a28..3e216c7cb0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 1998-10-27 Ulrich Drepper + * signal/signal.h: Don't include for timespec, add + forward declaration. + * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version of __FD_* macros which use __fds_bits. * sysdeps/generic/bits/select.h: Likewise. diff --git a/signal/signal.h b/signal/signal.h index 107650f113..a2d80cf486 100644 --- a/signal/signal.h +++ b/signal/signal.h @@ -180,10 +180,6 @@ typedef __sighandler_t sig_t; #ifdef __USE_POSIX # ifdef __USE_POSIX199309 -/* We need `struct timespec' later on. */ -# define __need_timespec -# include - /* Get the `siginfo_t' type plus the needed symbols. */ # include # endif @@ -242,6 +238,9 @@ extern int sigpending __P ((sigset_t *__set)); extern int sigwait __P ((__const sigset_t *__set, int *__sig)); # ifdef __USE_POSIX199309 +/* This type actually is defined in . */ +struct timespec; + /* Select any of pending signals from SET and place information in INFO. */ extern int sigwaitinfo __P ((__const sigset_t *__set, siginfo_t *__info)); -- cgit 1.4.1