diff options
author | Christopher Faylor <me@cgf.cx> | 2007-07-10 04:12:54 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2007-07-10 04:12:54 +0400 |
commit | 5c8891e9624d80b5b85ce485c0c1616993c3e8f0 (patch) | |
tree | a92e37b1876b43d2ca1fddee8dbcdcd01913f69c /winsup/cygwin/include | |
parent | 0c1207099c998787731e9741d6e18bba962e9f3f (diff) |
* cygwin/strsig.cc (__signals): New macro.
(sys_sigabbrev): New array of signal strings, patterned after linux.
(siglist): Use __signals.
* cygwin/include/cygwin/signal.h (sys_sigabbrev): Define.
* cygwin/include/cygwin/version.h: Bump API minor version to 177.
* utils/Makefile.in (kill.exe): Remove reliance on libiberty.
* utils/kill.cc (strsigno): New function patterned after libiberty but using
newly exported cygwin array.
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r-- | winsup/cygwin/include/cygwin/signal.h | 2 | ||||
-rw-r--r-- | winsup/cygwin/include/cygwin/version.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/winsup/cygwin/include/cygwin/signal.h b/winsup/cygwin/include/cygwin/signal.h index 7f34506d7..71fdf7440 100644 --- a/winsup/cygwin/include/cygwin/signal.h +++ b/winsup/cygwin/include/cygwin/signal.h @@ -269,6 +269,8 @@ _sig_func_ptr sigset (int, _sig_func_ptr); int sigqueue(pid_t, int, const union sigval); int siginterrupt (int, int); +extern const char __declspec(dllimport) *sys_sigabbrev[]; + #ifdef __cplusplus } #endif diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h index a8911bdfd..10a93e28a 100644 --- a/winsup/cygwin/include/cygwin/version.h +++ b/winsup/cygwin/include/cygwin/version.h @@ -317,12 +317,13 @@ details. */ 174: Export stpcpy, stpncpy. 175: Export fdopendir. 176: Export wcstol, wcstoll, wcstoul, wcstoull, wcsxfrm. + 177: Export sys_sigabbrev */ /* Note that we forgot to bump the api for ualarm, strtoll, strtoull */ #define CYGWIN_VERSION_API_MAJOR 0 -#define CYGWIN_VERSION_API_MINOR 176 +#define CYGWIN_VERSION_API_MINOR 177 /* There is also a compatibity version number associated with the shared memory regions. It is incremented when incompatible |