Skip to content

Commit a5f1ead

Browse files
committed
Export the kill_process_tree() function
... for use in kill.exe. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent a51d852 commit a5f1ead

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

winsup/cygwin/common.din

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ sys_errlist = _sys_errlist DATA
3333
sys_nerr = _sys_nerr DATA
3434
sys_sigabbrev DATA
3535
sys_siglist DATA
36+
kill_process_tree DATA
3637

3738
# Exported functions
3839
_Exit SIGFE

winsup/cygwin/include/cygwin/signal.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,11 +413,12 @@ int siginterrupt (int, int);
413413
#ifdef __INSIDE_CYGWIN__
414414
extern const char *sys_sigabbrev[];
415415
extern const char *sys_siglist[];
416+
extern void kill_process_tree(pid_t pid, int sig);
416417
#else
417418
extern const char __declspec(dllimport) *sys_sigabbrev[];
418419
extern const char __declspec(dllimport) *sys_siglist[];
420+
extern void __declspec(dllimport) kill_process_tree(pid_t pid, int sig);
419421
#endif
420-
void kill_process_tree(pid_t pid, int sig);
421422

422423
#ifdef __cplusplus
423424
}

winsup/cygwin/include/cygwin/version.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,13 +489,14 @@ details. */
489489
nexttowardf, nexttowardl, pow10l, powl, remainderl, remquol, roundl,
490490
scalbl, scalblnl, scalbnl, sincosl, sinhl, sinl, tanhl, tanl,
491491
tgammal, truncl.
492+
298: Export kill_process_tree.
492493
*/
493494

494495
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull,
495496
sigaltstack, sethostname. */
496497

497498
#define CYGWIN_VERSION_API_MAJOR 0
498-
#define CYGWIN_VERSION_API_MINOR 297
499+
#define CYGWIN_VERSION_API_MINOR 298
499500

500501
/* There is also a compatibity version number associated with the
501502
shared memory regions. It is incremented when incompatible

0 commit comments

Comments
 (0)