summaryrefslogtreecommitdiff
path: root/farbfeld/util.h
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2022-06-20 19:54:29 +0000
committerstkhan <personal@slickd.xyz>2022-06-20 19:54:29 +0000
commit4c40a4dc245f7715f4891ed02d71475628e7a959 (patch)
treefa52419490b5a0d89d746f6e3a0b0c1e675b7726 /farbfeld/util.h
parent513b0e238b98f72a01d740a0bd99a3739918645c (diff)
new directory structure
Diffstat (limited to 'farbfeld/util.h')
-rw-r--r--farbfeld/util.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/farbfeld/util.h b/farbfeld/util.h
deleted file mode 100644
index f6e32c6..0000000
--- a/farbfeld/util.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/* See LICENSE file for copyright and license details. */
-#include <stdint.h>
-#include <stdio.h>
-
-#define LEN(x) (sizeof (x) / sizeof *(x))
-
-extern char *argv0;
-
-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);
-
-int parse_mask(const char *, uint16_t mask[3]);
-
-int fshut(FILE *, const char *);
-
-void efread(void *, size_t, size_t, FILE *);
-void efwrite(const void *, size_t, size_t, FILE *);
-
-#undef reallocarray
-void *reallocarray(void *, size_t, size_t);
-void *ereallocarray(void *optr, size_t nmemb, size_t size);
-
-#undef strtonum
-long long strtonum(const char *, long long, long long, const char **);
-long long estrtonum(const char *, long long, long long);