* libc/include/signal.h (sighandler_t): Add typedef.

This commit is contained in:
Corinna Vinschen 2010-07-01 08:50:17 +00:00
parent ca56076ae2
commit 723bf6ef39
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

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