aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2013-06-16 19:59:51 -0500
committerRob Landley <rob@landley.net>2013-06-16 19:59:51 -0500
commit558303076c494519a2d4a1212f0a60e011662f42 (patch)
tree6b0440f7bbd7be9ef195794b95161aa71b88e62b /lib/lib.h
parentc2305e895d92412761d5be258c2b73064a7061ed (diff)
downloadtoybox-558303076c494519a2d4a1212f0a60e011662f42.tar.gz
Add xexit() and make error_exit() use it.
Diffstat (limited to 'lib/lib.h')
-rw-r--r--lib/lib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/lib.h b/lib/lib.h
index 131f9c44..70f8f493 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -87,6 +87,7 @@ void show_help(void);
// lib.c
void xstrncpy(char *dest, char *src, size_t size);
+void xexit(void) noreturn;
void verror_msg(char *msg, int err, va_list va);
void error_msg(char *msg, ...);
void perror_msg(char *msg, ...);