summaryrefslogtreecommitdiff
path: root/sfm-0.4/util.h
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2022-05-13 18:15:43 +0000
committerstkhan <personal@slickd.xyz>2022-05-13 18:15:43 +0000
commit2e81fbdf15168a5b6df291b7062d120156a5ce45 (patch)
tree57de36552c6f46e43d8520ccf65acb80ef5f6c29 /sfm-0.4/util.h
parent7a93f153bf5e088ab6e2da6fcc0518744cfd54af (diff)
Removed dwm scripts, sfm, , added scroll, and added dark theme to surf
Diffstat (limited to 'sfm-0.4/util.h')
-rw-r--r--sfm-0.4/util.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/sfm-0.4/util.h b/sfm-0.4/util.h
deleted file mode 100644
index 2ade6d5..0000000
--- a/sfm-0.4/util.h
+++ /dev/null
@@ -1,17 +0,0 @@
-/* See LICENSE file for copyright and license details. */
-
-#ifndef UTIL_H
-#define UTIL_H
-
-#define MAX(A, B) ((A) > (B) ? (A) : (B))
-#define MIN(A, B) ((A) < (B) ? (A) : (B))
-#define LEN(A) (sizeof(A)/sizeof(A[0]))
-#define BETWEEN(X, A, B) ((A) <= (X) && (X) <= (B))
-#define FAIL_IF(EXP, MSG) {if(EXP){fprintf(stderr, "[\033[31mFAILED %d\033[0m] %s\n", __LINE__, MSG);exit(EXIT_FAILURE);}}
-#define PERROR(EXP) {if(EXP){print_error(strerror(errno));}};
-
-void *ecalloc(size_t, size_t);
-void *erealloc(void*, size_t);
-void die(const char *fmt, ...);
-
-#endif /* UTIL_H */