diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2002-07-24 18:18:07 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2002-07-24 18:18:07 +0000 |
commit | 9cef8ef52b51ec39d9d38ec206824ae81e12edfa (patch) | |
tree | 66f789f774887ea50cdf3c2ec59304d932665f96 /newlib/libc/sys | |
parent | a703e0f2ee6fd5c100b6a2071bef61a0c31c2504 (diff) | |
download | cygnal-9cef8ef52b51ec39d9d38ec206824ae81e12edfa.tar.gz cygnal-9cef8ef52b51ec39d9d38ec206824ae81e12edfa.tar.bz2 cygnal-9cef8ef52b51ec39d9d38ec206824ae81e12edfa.zip |
2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
to use _sig_func_ptr type casted constants.
(_sig_func_ptr): Typedef moved to sys/signal.h.
* libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
For __rtems, use POSIX definition, otherwise default to ANSI.
* libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
Diffstat (limited to 'newlib/libc/sys')
-rw-r--r-- | newlib/libc/sys/linux/sys/signal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/newlib/libc/sys/linux/sys/signal.h b/newlib/libc/sys/linux/sys/signal.h index edbec6f50..cef7058cd 100644 --- a/newlib/libc/sys/linux/sys/signal.h +++ b/newlib/libc/sys/linux/sys/signal.h @@ -19,7 +19,8 @@ #undef sigset_t #define sigset_t __sigset_t -typedef void (*__sighandler_t) (int); +typedef void (*_sig_func_ptr) (int); +typedef _sig_func_ptr __sighandler_t; #include <bits/siginfo.h> #include <bits/sigaction.h> |