aboutsummaryrefslogtreecommitdiff
path: root/src/inc/log.h
diff options
context:
space:
mode:
authorMarvin Borner2021-05-13 12:03:43 +0200
committerMarvin Borner2021-05-13 12:03:43 +0200
commitf181a8f04dfdfd8829861e0d0d549f39e40081e6 (patch)
treed937ae185e4a0dd97fd61b65be0cee01ac85876b /src/inc/log.h
parent879663d7154201ace191425cbddb36dc18f39402 (diff)
New layout
Diffstat (limited to 'src/inc/log.h')
-rw-r--r--src/inc/log.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/inc/log.h b/src/inc/log.h
new file mode 100644
index 0000000..4698f9c
--- /dev/null
+++ b/src/inc/log.h
@@ -0,0 +1,9 @@
+#ifndef LOG_H
+#define LOG_H
+
+#include <context.h>
+
+__attribute__((noreturn)) void errln(struct ctx *ctx, const char *fmt, ...);
+__attribute__((noreturn)) void err(const char *fmt, ...);
+
+#endif