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
path: root/newlib
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2011-01-12 14:49:28 +0300
committerCorinna Vinschen <corinna@vinschen.de>2011-01-12 14:49:28 +0300
commit7971c2a29c838fd4466ed5ac5ea00575de96f545 (patch)
tree8449eeec4c2b06d7aba04cd9d8e137ba94c2fdbf /newlib
parent667f187146dabad4791e55192941a06254379ebb (diff)
* libc/include/linux/sys/signal.h (sig_t): Move from here...
* libc/include/signal.h (sig_t): ...to here.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/include/signal.h1
-rw-r--r--newlib/libc/sys/linux/sys/signal.h1
3 files changed, 6 insertions, 1 deletions
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 <yselkowitz@users.sourceforge.net>
+
+ * libc/include/linux/sys/signal.h (sig_t): Move from here...
+ * libc/include/signal.h (sig_t): ...to here.
+
2011-01-10 Corinna Vinschen <vinschen@redhat.com>
* 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