aboutsummaryrefslogtreecommitdiff
path: root/signal
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-10-27 12:07:44 +0000
committerUlrich Drepper <drepper@redhat.com>1998-10-27 12:07:44 +0000
commit7e986b8b0dd8c57b6976cba6579bbaa190db875b (patch)
treee340a19c435663303994b06062b012c04339b882 /signal
parent2898c3a51449ade24995c6711d27858218efbd4c (diff)
downloadglibc-7e986b8b0dd8c57b6976cba6579bbaa190db875b.zip
glibc-7e986b8b0dd8c57b6976cba6579bbaa190db875b.tar.gz
glibc-7e986b8b0dd8c57b6976cba6579bbaa190db875b.tar.bz2
Update.
* signal/signal.h: Don't include <time.h> for timespec, add forward declaration.
Diffstat (limited to 'signal')
-rw-r--r--signal/signal.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/signal/signal.h b/signal/signal.h
index 107650f..a2d80cf 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 <time.h>
-
/* Get the `siginfo_t' type plus the needed symbols. */
# include <bits/siginfo.h>
# 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 <time.h>. */
+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));