diff options
| author | Ron Yorston <rmy@pobox.com> | 2025-07-11 11:47:56 +0100 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2025-07-11 11:47:56 +0100 |
| commit | b3ad13290344c2f40dc5bdc6053cc3cc73acfd9c (patch) | |
| tree | 63984c0256b222c74dbd6cd755941706f7794b5d /include | |
| parent | 82729c1c2fdcc17f65742a68ad035751017f05d5 (diff) | |
| download | busybox-w32-b3ad13290344c2f40dc5bdc6053cc3cc73acfd9c.tar.gz busybox-w32-b3ad13290344c2f40dc5bdc6053cc3cc73acfd9c.tar.bz2 busybox-w32-b3ad13290344c2f40dc5bdc6053cc3cc73acfd9c.zip | |
win32: deduplicate die_if_error()
There were two copies of the static function die_if_error().
Replace these with a single external function.
Saves 16 bytes.
Diffstat (limited to 'include')
| -rw-r--r-- | include/mingw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h index 3ee1cc46f..301b99229 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
| @@ -670,3 +670,4 @@ enum { | |||
| 670 | int elevation_state(void); | 670 | int elevation_state(void); |
| 671 | void set_interp(int i) FAST_FUNC; | 671 | void set_interp(int i) FAST_FUNC; |
| 672 | int mingw_shell_execute(SHELLEXECUTEINFO *info); | 672 | int mingw_shell_execute(SHELLEXECUTEINFO *info); |
| 673 | void mingw_die_if_error(NTSTATUS status, const char *function_name); | ||
