diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-03-07 01:54:24 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-03-07 01:54:24 +0000 |
commit | fb1a23d73bd3d0f4b364d02c5e733e23e2dd5df7 (patch) | |
tree | be0a26115c39024b8f1f6494b766fbe9cc356016 /include | |
parent | a6b6f05379b0d68229b1bb230753ac498692e694 (diff) | |
download | busybox-fb1a23d73bd3d0f4b364d02c5e733e23e2dd5df7.tar.gz |
halt/reboot/poweroff: improve error reporting
function old new delta
halt_main 207 185 -22
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index eefc13261..3e21cbf90 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -887,7 +887,7 @@ extern void bb_error_msg_and_die(const char *s, ...) __attribute__ ((noreturn, f extern void bb_perror_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))) FAST_FUNC; extern void bb_simple_perror_msg(const char *s) FAST_FUNC; extern void bb_perror_msg_and_die(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2))) FAST_FUNC; -extern void bb_simple_perror_msg_and_die(const char *s) __attribute__ ((noreturn)) FAST_FUNC; +extern void bb_simple_perror_msg_and_die(const char *s) NORETURN FAST_FUNC; extern void bb_herror_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))) FAST_FUNC; extern void bb_herror_msg_and_die(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2))) FAST_FUNC; extern void bb_perror_nomsg_and_die(void) NORETURN FAST_FUNC; |