aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2019-01-22 11:42:12 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-01-22 11:42:12 +0100
commit3123c94b6575ba34eb19446b74e456d410546c73 (patch)
tree1107b8836e9ca929385756699a2f2fc2b17e8a63
parentAdd trie data structure. (diff)
downloadcalp-3123c94b6575ba34eb19446b74e456d410546c73.tar.gz
calp-3123c94b6575ba34eb19446b74e456d410546c73.tar.xz
Add very simple err header.
-rw-r--r--err.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/err.h b/err.h
new file mode 100644
index 00000000..d3db805c
--- /dev/null
+++ b/err.h
@@ -0,0 +1,7 @@
+#ifndef ERR_H
+#define ERR_H
+
+#include <stdio.h>
+#define ERR(s) fprintf(stderr, "ERR (%s:%i): %s\n", __FILE__, __LINE__, s)
+
+#endif /* ERR_H */