summaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'util.h')
-rw-r--r--util.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/util.h b/util.h
index 86abea8..8359dc8 100644
--- a/util.h
+++ b/util.h
@@ -61,12 +61,13 @@ typedef struct {
int stlen;
} r_dir_t;
+extern const char *progname;
+
void* emalloc(size_t);
void* erealloc(void*, size_t);
char* estrdup(const char*);
-void warn(const char*, ...);
-void die(const char*, ...);
+void error(int, int, const char*, ...);
void size_readable(float*, const char**);