diff options
author | Ron Yorston <rmy@pobox.com> | 2020-07-25 12:48:13 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2020-07-25 12:48:13 +0100 |
commit | cfa888eb571d92d4de02b406f0dad15e4fa26d19 (patch) | |
tree | 177dec576bd63de16c3ae18f1b6982b3b15b92a0 /include | |
parent | 2974f8f44cdb029f040cc2a975592daf965817af (diff) | |
download | busybox-w32-cfa888eb571d92d4de02b406f0dad15e4fa26d19.tar.gz busybox-w32-cfa888eb571d92d4de02b406f0dad15e4fa26d19.tar.bz2 busybox-w32-cfa888eb571d92d4de02b406f0dad15e4fa26d19.zip |
win32: code shrink kill(2)
- Drop exit_code argument from kill_SIGTERM_by_handle()
- Pass signal number rather than exit code to other functions
- Merge kill_SIGKILL() and kill_SIGTEST()
Saves 112 bytes.
Diffstat (limited to 'include')
-rw-r--r-- | include/mingw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mingw.h b/include/mingw.h index c75b06330..a67b161c7 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -502,7 +502,7 @@ int mingw_execve(const char *cmd, char *const *argv, char *const *envp); | |||
502 | #define has_dos_drive_prefix(path) (isalpha(*(path)) && (path)[1] == ':') | 502 | #define has_dos_drive_prefix(path) (isalpha(*(path)) && (path)[1] == ':') |
503 | #define is_absolute_path(path) ((path)[0] == '/' || (path)[0] == '\\' || has_dos_drive_prefix(path)) | 503 | #define is_absolute_path(path) ((path)[0] == '/' || (path)[0] == '\\' || has_dos_drive_prefix(path)) |
504 | 504 | ||
505 | int kill_SIGTERM_by_handle(HANDLE process, int exit_code); | 505 | int kill_SIGTERM_by_handle(HANDLE process); |
506 | 506 | ||
507 | #define find_mount_point(n, s) find_mount_point(n) | 507 | #define find_mount_point(n, s) find_mount_point(n) |
508 | 508 | ||