diff options
author | Ron Yorston <rmy@pobox.com> | 2022-01-06 07:46:38 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2022-01-06 07:46:38 +0000 |
commit | b8751bbc9ac24e71fbe1e79c69074b4c87a134d8 (patch) | |
tree | 336d653df8387b9b1d3c6e46caa373c00cb9b2b2 /libbb/xfuncs.c | |
parent | b15f68214da209b5b293039c09c00f490c0cc193 (diff) | |
parent | 6062c0d19bc201cbeb61b8875598cdd7a14a5ae0 (diff) | |
download | busybox-w32-b8751bbc9ac24e71fbe1e79c69074b4c87a134d8.tar.gz busybox-w32-b8751bbc9ac24e71fbe1e79c69074b4c87a134d8.tar.bz2 busybox-w32-b8751bbc9ac24e71fbe1e79c69074b4c87a134d8.zip |
Merge busybox into merge
Fix merge conflict in miscutils/less.c.
Use exit_SUCCESS() where possible.
Diffstat (limited to 'libbb/xfuncs.c')
-rw-r--r-- | libbb/xfuncs.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c index 102b5a227..388b246ca 100644 --- a/libbb/xfuncs.c +++ b/libbb/xfuncs.c | |||
@@ -427,3 +427,13 @@ int FAST_FUNC wait4pid(pid_t pid) | |||
427 | return WTERMSIG(status) + 0x180; | 427 | return WTERMSIG(status) + 0x180; |
428 | return 0; | 428 | return 0; |
429 | } | 429 | } |
430 | |||
431 | void FAST_FUNC exit_SUCCESS(void) | ||
432 | { | ||
433 | exit(EXIT_SUCCESS); | ||
434 | } | ||
435 | |||
436 | void FAST_FUNC _exit_SUCCESS(void) | ||
437 | { | ||
438 | _exit(EXIT_SUCCESS); | ||
439 | } | ||