projects
/
centaur.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4c823457ba42c00ddae3d40006cae1e2b0bc2b14
[centaur.git]
/
include
/
libelfu
/
debug.h
1
#ifndef __LIBELFU_DEBUG_H_
2
#define __LIBELFU_DEBUG_H_
3
4
#include <stdio.h>
5
6
7
#define ELFU_WARN(...) do { fprintf(stderr, __VA_ARGS__); } while(0)
8
9
#define ELFU_WARNELF(function_name) ELFU_WARN(function_name "() failed: %s\n", elf_errmsg(-1))
10
11
#endif