Skip to content

Commit 82014d1

Browse files
committed
fixup! Export the kill_process_tree() function
This drops the patch. After making up my mind about it, it would appear to be a bad idea to export this via the .dll. Better implement the functions in a header file that needs to be #include'd by the callers, and marks the functions as file-local. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 7509443 commit 82014d1

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

winsup/cygwin/common.din

-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ sys_errlist = _sys_errlist DATA
3333
sys_nerr = _sys_nerr DATA
3434
sys_sigabbrev DATA
3535
sys_siglist DATA
36-
kill_process_tree DATA
3736

3837
# Exported functions
3938
_Exit SIGFE

winsup/cygwin/include/cygwin/signal.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -410,12 +410,11 @@ int siginterrupt (int, int);
410410
#ifdef __INSIDE_CYGWIN__
411411
extern const char *sys_sigabbrev[];
412412
extern const char *sys_siglist[];
413-
extern void kill_process_tree(pid_t pid, int sig);
414413
#else
415414
extern const char __declspec(dllimport) *sys_sigabbrev[];
416415
extern const char __declspec(dllimport) *sys_siglist[];
417-
extern void __declspec(dllimport) kill_process_tree(pid_t pid, int sig);
418416
#endif
417+
void kill_process_tree(pid_t pid, int sig);
419418

420419
#ifdef __cplusplus
421420
}

winsup/cygwin/include/cygwin/version.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -474,13 +474,12 @@ details. */
474474
307: Export timingsafe_bcmp, timingsafe_memcmp.
475475
308: Export dladdr.
476476
309: Export getloadavg.
477-
310: Export kill_process_tree.
478477
479478
Note that we forgot to bump the api for ualarm, strtoll, strtoull,
480479
sigaltstack, sethostname. */
481480

482481
#define CYGWIN_VERSION_API_MAJOR 0
483-
#define CYGWIN_VERSION_API_MINOR 310
482+
#define CYGWIN_VERSION_API_MINOR 309
484483

485484
/* There is also a compatibity version number associated with the shared memory
486485
regions. It is incremented when incompatible changes are made to the shared

0 commit comments

Comments
 (0)