summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common.h')
-rw-r--r--common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/common.h b/common.h
index 3b779a5..175d038 100644
--- a/common.h
+++ b/common.h
@@ -9,9 +9,15 @@
#define MY_EMAIL "mvw@planets.elm.net, jack@suse.cz"
+/* Name of current program for error reporting */
+extern char *progname;
+
/* Finish programs being */
void die(int, char *, ...);
+/* Print an error */
+void errstr(char *, ...);
+
/* malloc() with error check */
void *smalloc(size_t);