diff options
Diffstat (limited to 'include/libbb.h')
-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 640fa3988..eb97a9880 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1444,6 +1444,13 @@ void bb_verror_msg(const char *s, va_list p, const char *strerr) FAST_FUNC; | |||
1444 | void bb_die_memory_exhausted(void) NORETURN FAST_FUNC; | 1444 | void bb_die_memory_exhausted(void) NORETURN FAST_FUNC; |
1445 | void bb_logenv_override(void) FAST_FUNC; | 1445 | void bb_logenv_override(void) FAST_FUNC; |
1446 | 1446 | ||
1447 | /* x86 benefits from narrow exit code variables | ||
1448 | * (because it has no widening MOV imm8,word32 insn, has to use MOV imm32,w | ||
1449 | * for "exitcode = EXIT_FAILURE" and similar. The downside is that sometimes | ||
1450 | * gcc widens the variable to int in various ugly suboptimal ways). | ||
1451 | */ | ||
1452 | typedef smalluint exitcode_t; | ||
1453 | |||
1447 | #if ENABLE_FEATURE_SYSLOG_INFO | 1454 | #if ENABLE_FEATURE_SYSLOG_INFO |
1448 | void bb_info_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))) FAST_FUNC; | 1455 | void bb_info_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))) FAST_FUNC; |
1449 | void bb_simple_info_msg(const char *s) FAST_FUNC; | 1456 | void bb_simple_info_msg(const char *s) FAST_FUNC; |