summaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorDenis Vlasenko2007-01-03 02:56:00 +0000
committerDenis Vlasenko2007-01-03 02:56:00 +0000
commit9b1381fd2fb7179f731709542507015799f90a51 (patch)
tree66b3617e0b6ceed9c3123000104df0d78bf9bf2a /include/libbb.h
parentbb3d0fab3b46d64e93687bc30b405d0878eca296 (diff)
downloadbusybox-9b1381fd2fb7179f731709542507015799f90a51.zip
busybox-9b1381fd2fb7179f731709542507015799f90a51.tar.gz
convert calloc to xzalloc
fix sleep-on-die option
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 1330307..7ee66dc 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -397,6 +397,7 @@ extern const char *msg_eol;
extern int logmode;
extern int die_sleep;
extern int xfunc_error_retval;
+extern void sleep_and_die(void) ATTRIBUTE_NORETURN;
extern void bb_show_usage(void) ATTRIBUTE_NORETURN ATTRIBUTE_EXTERNALLY_VISIBLE;
extern void bb_error_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2)));
extern void bb_error_msg_and_die(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2)));