aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2025-07-11 11:47:56 +0100
committerRon Yorston <rmy@pobox.com>2025-07-11 11:47:56 +0100
commitb3ad13290344c2f40dc5bdc6053cc3cc73acfd9c (patch)
tree63984c0256b222c74dbd6cd755941706f7794b5d /include
parent82729c1c2fdcc17f65742a68ad035751017f05d5 (diff)
downloadbusybox-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.h1
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 {
670int elevation_state(void); 670int elevation_state(void);
671void set_interp(int i) FAST_FUNC; 671void set_interp(int i) FAST_FUNC;
672int mingw_shell_execute(SHELLEXECUTEINFO *info); 672int mingw_shell_execute(SHELLEXECUTEINFO *info);
673void mingw_die_if_error(NTSTATUS status, const char *function_name);