Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-07-24 22:18:07 +0400
committerJeff Johnston <jjohnstn@redhat.com>2002-07-24 22:18:07 +0400
commit9cef8ef52b51ec39d9d38ec206824ae81e12edfa (patch)
tree66f789f774887ea50cdf3c2ec59304d932665f96 /newlib/libc/sys
parenta703e0f2ee6fd5c100b6a2071bef61a0c31c2504 (diff)
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.h3
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>