diff options
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h new file mode 100644 index 0000000..7f1e41c --- /dev/null +++ b/src/common.h @@ -0,0 +1,9 @@ +#include <stdlib.h> +#include <inttypes.h> +#include <stdio.h> +#include <errno.h> +#include <uthash.h> +#include "eli.h" + +#define HASH_FOR(i, head, field) for ((i) = (head); (i); (i) = (i)->field.next) +#define errorf(fmt, ...) (fprintf(stderr, fmt, ##__VA_ARGS__)) |