summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'util.h')
-rw-r--r--util.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/util.h b/util.h
index 0081b13..f6e32c6 100644
--- a/util.h
+++ b/util.h
@@ -2,9 +2,12 @@
#include <stdint.h>
#include <stdio.h>
+#define LEN(x) (sizeof (x) / sizeof *(x))
+
extern char *argv0;
-#define LEN(x) (sizeof (x) / sizeof *(x))
+void warn(const char *, ...);
+void die(const char *, ...);
void ff_read_header(uint32_t *width, uint32_t *height);
void ff_write_header(uint32_t width, uint32_t height);