Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Sunxi Tools
Commits
077249c2
Commit
077249c2
authored
May 03, 2012
by
Alejandro Mery
Browse files
move errf() macro to sunxi-tools.h
parent
62dc7368
Changes
2
Show whitespace changes
Inline
Side-by-side
bin2fex.c
View file @
077249c2
...
@@ -26,7 +26,6 @@
...
@@ -26,7 +26,6 @@
#include <sys/mman.h>
#include <sys/mman.h>
#include <fcntl.h>
#include <fcntl.h>
#define errf(...) fprintf(stderr, __VA_ARGS__)
#define pr_info(F, ...) fprintf(out, "; bin2fex: " F, __VA_ARGS__)
#define pr_info(F, ...) fprintf(out, "; bin2fex: " F, __VA_ARGS__)
#define pr_err(F, ...) pr_info("ERROR: " F, __VA_ARGS__)
#define pr_err(F, ...) pr_info("ERROR: " F, __VA_ARGS__)
...
...
sunxi-tools.h
View file @
077249c2
...
@@ -24,4 +24,6 @@
...
@@ -24,4 +24,6 @@
# define UNUSED(x) UNUSED_ ## x
# define UNUSED(x) UNUSED_ ## x
#endif
#endif
#define errf(...) fprintf(stderr, __VA_ARGS__)
#endif
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment