aboutsummaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-04-06 17:35:22 +0530
committersinanmohd <sinan@sinanmohd.com>2024-04-06 17:46:55 +0530
commit4ff6158a6cd29e87222387870e6f01aca41b8183 (patch)
treeeedc21363355691d2bc48d942ebe1cac8db0685d /util.h
parent246fa34293969eed0ebd650944e52b46c677b054 (diff)
meson: init
Diffstat (limited to 'util.h')
-rw-r--r--util.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/util.h b/util.h
deleted file mode 100644
index f36965a..0000000
--- a/util.h
+++ /dev/null
@@ -1,18 +0,0 @@
-#ifndef UTIL_H
-
-#include <stdio.h>
-#include <stdlib.h>
-
-#define err_die(r, ...) {\
- fprintf(stderr, "%s:%d: ", __FILE__, __LINE__); \
- fprintf(stderr, __VA_ARGS__); \
- fputc('\n', stderr); \
- return r; \
-}
-
-int r_mkdir(const char *path, mode_t mode);
-int r_rmdir(const char *prefix_path, char *rm_path);
-void util_strtrim(char *s);
-
-#define UTIL_H
-#endif