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










                                         

                              









                             
#ifndef __UTIL_H
#define __UTIL_H

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

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

#define FODD_MAX_ARRAY 1048576

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

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

void
trim(char * str);

#endif /* __UTIL_H */