aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lib.h')
-rw-r--r--lib/lib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/lib.h b/lib/lib.h
index 6fce34c8..07f4a6d8 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -43,8 +43,8 @@ void strlcpy(char *dest, char *src, size_t size);
void verror_msg(char *msg, int err, va_list va);
void error_msg(char *msg, ...);
void perror_msg(char *msg, ...);
-void error_exit(char *msg, ...);
-void perror_exit(char *msg, ...);
+void error_exit(char *msg, ...) noreturn;
+void perror_exit(char *msg, ...) noreturn;
void *xmalloc(size_t size);
void *xzalloc(size_t size);
void *xrealloc(void *ptr, size_t size);