From f07580d31d1148c4a1811c36b09ca0ad50d9576b Mon Sep 17 00:00:00 2001 From: Louis Burda Date: Mon, 20 Dec 2021 16:25:43 +0100 Subject: Restructured repository and added automatic make dependency generation --- util.h | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 util.h (limited to 'util.h') diff --git a/util.h b/util.h deleted file mode 100644 index b9f45f4..0000000 --- a/util.h +++ /dev/null @@ -1,19 +0,0 @@ -#pragma once - -#include - -#define MAX(a, b) ((a) > (b) ? (a) : (b)) -#define MIN(a, b) ((a) > (b) ? (b) : (a)) -#define ARRLEN(x) (sizeof(x)/sizeof((x)[0])) - -#define ASSERT(x) assert((x), __FILE__, __LINE__, #x) - -int strnwidth(const char *s, int n); -void assert(int cond, const char *file, int line, const char *condstr); - -char *aprintf(const char *fmtstr, ...); -char *appendstrf(char *alloc, const char *fmtstr, ...); - -char *sanitized(const char *instr); - -const char *timestr(unsigned int seconds); -- cgit v1.2.3-71-gd317