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:
authorCorinna Vinschen <corinna@vinschen.de>2010-07-01 12:50:17 +0400
committerCorinna Vinschen <corinna@vinschen.de>2010-07-01 12:50:17 +0400
commit723bf6ef3985588e6c59cc65706aa3e7d1f7280f (patch)
treec18228c531321439323559a00d9b87e6f165d7f3
parentca56076ae22c4e4eaafed078c3d0a3b29871e385 (diff)
* libc/include/signal.h (sighandler_t): Add typedef.
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/include/signal.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 21bce979d..ac2accd5b 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2010-07-01 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
+
+ * libc/include/signal.h (sighandler_t): Add typedef.
+
2010-06-29 Antony King <antony.king@sr.com>
* libc/ctype/ctype_.c (__ctype_ptr): Reinstate definition (guarded by
diff --git a/newlib/libc/include/signal.h b/newlib/libc/include/signal.h
index 1b3b57b49..478d07bc3 100644
--- a/newlib/libc/include/signal.h
+++ b/newlib/libc/include/signal.h
@@ -7,6 +7,7 @@
_BEGIN_STD_C
typedef int sig_atomic_t; /* Atomic entity type (ANSI) */
+typedef _sig_func_ptr sighandler_t; /* glibc naming */
#define SIG_DFL ((_sig_func_ptr)0) /* Default action */
#define SIG_IGN ((_sig_func_ptr)1) /* Ignore action */