diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 21a1f3cc2..1c168a62e 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2011-01-12 Yaakov Selkowitz + + * libc/include/linux/sys/signal.h (sig_t): Move from here... + * libc/include/signal.h (sig_t): ...to here. + 2011-01-10 Corinna Vinschen * libc/machine/mips/strlen.c (strlen): Add delay slot for R3000. diff --git a/newlib/libc/include/signal.h b/newlib/libc/include/signal.h index a00304742..f90d59270 100644 --- a/newlib/libc/include/signal.h +++ b/newlib/libc/include/signal.h @@ -8,6 +8,7 @@ _BEGIN_STD_C typedef int sig_atomic_t; /* Atomic entity type (ANSI) */ #ifndef _POSIX_SOURCE +typedef _sig_func_ptr sig_t; /* BSD naming */ typedef _sig_func_ptr sighandler_t; /* glibc naming */ #endif /* !_POSIX_SOURCE */ diff --git a/newlib/libc/sys/linux/sys/signal.h b/newlib/libc/sys/linux/sys/signal.h index cef7058cd..a5319d9e5 100644 --- a/newlib/libc/sys/linux/sys/signal.h +++ b/newlib/libc/sys/linux/sys/signal.h @@ -50,7 +50,6 @@ int _EXFUN(sigpause, (int)); #ifndef _POSIX_SOURCE extern const char *const sys_siglist[]; -typedef __sighandler_t sig_t; /* BSDism */ #endif #endif