Commit 077249c2 authored by Alejandro Mery's avatar Alejandro Mery
Browse files

move errf() macro to sunxi-tools.h

parent 62dc7368
......@@ -26,7 +26,6 @@
#include <sys/mman.h>
#include <fcntl.h>
#define errf(...) fprintf(stderr, __VA_ARGS__)
#define pr_info(F, ...) fprintf(out, "; bin2fex: " F, __VA_ARGS__)
#define pr_err(F, ...) pr_info("ERROR: " F, __VA_ARGS__)
......
......@@ -24,4 +24,6 @@
# define UNUSED(x) UNUSED_ ## x
#endif
#define errf(...) fprintf(stderr, __VA_ARGS__)
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment