aboutsummaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/utils.h b/utils.h
new file mode 100644
index 0000000..8a19473
--- /dev/null
+++ b/utils.h
@@ -0,0 +1,12 @@
+#ifndef UTILS_H
+#define UTILS_H
+
+extern const char *progname;
+
+void info (const char *, ...);
+void warning (const char *, ...);
+void fatal (const char *, ...);
+
+#define NOTUSED(x) ((void)(x))
+
+#endif /* UTILS_H */