diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 7 |
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; | |||
1508 | void bb_die_memory_exhausted(void) NORETURN FAST_FUNC; | 1508 | void bb_die_memory_exhausted(void) NORETURN FAST_FUNC; |
1509 | void bb_logenv_override(void) FAST_FUNC; | 1509 | void 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 | */ | ||
1516 | typedef smalluint exitcode_t; | ||
1517 | |||
1511 | #if ENABLE_FEATURE_SYSLOG_INFO | 1518 | #if ENABLE_FEATURE_SYSLOG_INFO |
1512 | void bb_info_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))) FAST_FUNC; | 1519 | void bb_info_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))) FAST_FUNC; |
1513 | void bb_simple_info_msg(const char *s) FAST_FUNC; | 1520 | void bb_simple_info_msg(const char *s) FAST_FUNC; |