From 382da0ada99a2874052f0e6ccb2c25e012d47fc9 Mon Sep 17 00:00:00 2001 From: gramanas Date: Sat, 13 Nov 2021 21:05:38 +0200 Subject: Update Makefile and add list ingredients draft --- src/util.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/util.h (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h new file mode 100644 index 0000000..fe09145 --- /dev/null +++ b/src/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