summaryrefslogblamecommitdiffstats
path: root/src/util.h
blob: fe091457a141fc1564c72c7b025bc166c1fbf6bb (plain) (tree)




















                                         
#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 */