aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-03-13 20:23:41 -0500
committerRob Landley <rob@landley.net>2016-03-13 20:23:41 -0500
commiteb24df9749994d175a2de3b7fc0535abe46a7576 (patch)
tree73960237e28c3e222cbe054858641d7b4ece8a92 /lib/lib.h
parent51d71f5c5b7040b50a38d9360561cee626eb2c2e (diff)
downloadtoybox-eb24df9749994d175a2de3b7fc0535abe46a7576.tar.gz
Split out _xexit() from xexit() and give sigatexit() multiple callbacks.
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 917be0c1..b12a110b 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -96,6 +96,7 @@ void show_help(FILE *out);
// xwrap.c
void xstrncpy(char *dest, char *src, size_t size);
void xstrncat(char *dest, char *src, size_t size);
+void _xexit(void) noreturn;
void xexit(void) noreturn;
void *xmalloc(size_t size);
void *xzalloc(size_t size);