summaryrefslogtreecommitdiffstats
path: root/src/util.h
blob: fe091457a141fc1564c72c7b025bc166c1fbf6bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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))

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

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

void
trim(char * str);

#endif /* __UTIL_H */