From 9deed51aa2df7ca5979963f7452a6439ad2d3767 Mon Sep 17 00:00:00 2001 From: gramanas Date: Thu, 2 Sep 2021 17:23:42 +0300 Subject: initial --- util.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 util.h (limited to 'util.h') diff --git a/util.h b/util.h new file mode 100644 index 0000000..fe09145 --- /dev/null +++ b/util.h @@ -0,0 +1,21 @@ +#ifndef __UTIL_H +#define __UTIL_H + +#include +#include +#include +#include +#include + +#define MAX(A, B) ((A) > (B) ? (A) : (B)) + +void +fdebug(const char *fmt, ...); + +void +die(const char *fmt, ...); + +void +trim(char * str); + +#endif /* __UTIL_H */ -- cgit v1.2.3