Commit a304b3b0 authored by Alejandro Mery's avatar Alejandro Mery
Browse files

sunxi-tools.h: add simple comments

parent 077249c2
......@@ -17,6 +17,7 @@
#ifndef _SUNXI_TOOLS_H
#define _SUNXI_TOOLS_H
/** flat function argument as unused */
#ifdef UNUSED
#elif defined(__GNUC__)
# define UNUSED(x) UNUSED_ ## x __attribute__((unused))
......@@ -24,6 +25,7 @@
# define UNUSED(x) UNUSED_ ## x
#endif
/** shortcut to printf to stderr */
#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