diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/include/libbb.h b/include/libbb.h index 309c58734..ad1c7346f 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1277,20 +1277,21 @@ extern smallint syslog_level; | |||
1277 | extern smallint logmode; | 1277 | extern smallint logmode; |
1278 | extern uint8_t xfunc_error_retval; | 1278 | extern uint8_t xfunc_error_retval; |
1279 | extern void (*die_func)(void); | 1279 | extern void (*die_func)(void); |
1280 | extern void xfunc_die(void) NORETURN FAST_FUNC; | 1280 | void xfunc_die(void) NORETURN FAST_FUNC; |
1281 | extern void bb_show_usage(void) NORETURN FAST_FUNC; | 1281 | void bb_show_usage(void) NORETURN FAST_FUNC; |
1282 | extern void bb_error_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))) FAST_FUNC; | 1282 | void bb_error_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))) FAST_FUNC; |
1283 | extern void bb_error_msg_and_die(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2))) FAST_FUNC; | 1283 | void bb_error_msg_and_die(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2))) FAST_FUNC; |
1284 | extern void bb_perror_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))) FAST_FUNC; | 1284 | void bb_perror_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))) FAST_FUNC; |
1285 | extern void bb_simple_perror_msg(const char *s) FAST_FUNC; | 1285 | void bb_simple_perror_msg(const char *s) FAST_FUNC; |
1286 | extern void bb_perror_msg_and_die(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2))) FAST_FUNC; | 1286 | void bb_perror_msg_and_die(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2))) FAST_FUNC; |
1287 | extern void bb_simple_perror_msg_and_die(const char *s) NORETURN FAST_FUNC; | 1287 | void bb_simple_perror_msg_and_die(const char *s) NORETURN FAST_FUNC; |
1288 | extern void bb_herror_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))) FAST_FUNC; | 1288 | void bb_herror_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))) FAST_FUNC; |
1289 | extern void bb_herror_msg_and_die(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2))) FAST_FUNC; | 1289 | void bb_herror_msg_and_die(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2))) FAST_FUNC; |
1290 | extern void bb_perror_nomsg_and_die(void) NORETURN FAST_FUNC; | 1290 | void bb_perror_nomsg_and_die(void) NORETURN FAST_FUNC; |
1291 | extern void bb_perror_nomsg(void) FAST_FUNC; | 1291 | void bb_perror_nomsg(void) FAST_FUNC; |
1292 | extern void bb_verror_msg(const char *s, va_list p, const char *strerr) FAST_FUNC; | 1292 | void bb_verror_msg(const char *s, va_list p, const char *strerr) FAST_FUNC; |
1293 | extern void bb_logenv_override(void) FAST_FUNC; | 1293 | void bb_die_memory_exhausted(void) NORETURN FAST_FUNC; |
1294 | void bb_logenv_override(void) FAST_FUNC; | ||
1294 | 1295 | ||
1295 | /* We need to export XXX_main from libbusybox | 1296 | /* We need to export XXX_main from libbusybox |
1296 | * only if we build "individual" binaries | 1297 | * only if we build "individual" binaries |