aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2023-08-10 10:14:38 +0100
committerRon Yorston <rmy@pobox.com>2023-08-10 10:14:38 +0100
commit1ba2d37b9f59c4e7a44abb56dfb87f044ba7dc77 (patch)
treee317201c6424df53b4dbbfddc0de304d62c8a3a8 /include
parent7b692ddf0c746014f94813bcb6418f0c95d85afc (diff)
parent8f0845cad7bfc46939132b33f9cd0753b261b953 (diff)
downloadbusybox-w32-1ba2d37b9f59c4e7a44abb56dfb87f044ba7dc77.tar.gz
busybox-w32-1ba2d37b9f59c4e7a44abb56dfb87f044ba7dc77.tar.bz2
busybox-w32-1ba2d37b9f59c4e7a44abb56dfb87f044ba7dc77.zip
Merge branch 'busybox' into merge
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index ae10c3bf0..61c75791c 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1508,6 +1508,13 @@ void bb_verror_msg(const char *s, va_list p, const char *strerr) FAST_FUNC;
1508void bb_die_memory_exhausted(void) NORETURN FAST_FUNC; 1508void bb_die_memory_exhausted(void) NORETURN FAST_FUNC;
1509void bb_logenv_override(void) FAST_FUNC; 1509void bb_logenv_override(void) FAST_FUNC;
1510 1510
1511/* x86 benefits from narrow exit code variables
1512 * (because it has no widening MOV imm8,word32 insn, has to use MOV imm32,w
1513 * for "exitcode = EXIT_FAILURE" and similar. The downside is that sometimes
1514* gcc widens the variable to int in various ugly suboptimal ways).
1515 */
1516typedef smalluint exitcode_t;
1517
1511#if ENABLE_FEATURE_SYSLOG_INFO 1518#if ENABLE_FEATURE_SYSLOG_INFO
1512void bb_info_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))) FAST_FUNC; 1519void bb_info_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))) FAST_FUNC;
1513void bb_simple_info_msg(const char *s) FAST_FUNC; 1520void bb_simple_info_msg(const char *s) FAST_FUNC;