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:
-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 */