summaryrefslogblamecommitdiffstats
path: root/src/util.h
blob: dce85312fdc92c37a8a5b2e573167cca20c01e7b (plain) (tree)
1
2
3
4
5
6
7
8
9







                   
                   


                                         
                              
 









                             
#ifndef __UTIL_H
#define __UTIL_H

#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <libgen.h>

#define MAX(A, B) ((A) > (B) ? (A) : (B))

#define FOOD_MAX_ARRAY 1048576

void
fdebug(const char *fmt, ...);

void
die(const char *fmt, ...);

void
trim(char * str);

#endif /* __UTIL_H */