blob: 4c823457ba42c00ddae3d40006cae1e2b0bc2b14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#ifndef __LIBELFU_DEBUG_H_
#define __LIBELFU_DEBUG_H_
#include <stdio.h>
#define ELFU_WARN(...) do { fprintf(stderr, __VA_ARGS__); } while(0)
#define ELFU_WARNELF(function_name) ELFU_WARN(function_name "() failed: %s\n", elf_errmsg(-1))
#endif
|