Add a new file, HACKING, in order to collect recurring issues with submitted patches.
Start with preprocessor rules, adapted from libvirt HACKING. Signed-off-by: Blue Swirl <blauwir...@gmail.com> --- HACKING | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) create mode 100644 HACKING diff --git a/HACKING b/HACKING new file mode 100644 index 0000000..4211d15 --- /dev/null +++ b/HACKING @@ -0,0 +1,6 @@ +1. Preprocessor + +For variadic macros, stick with this C99-like syntax: + +#define DPRINTF(fmt, ...) \ + do { printf("IRQ: " fmt, ## __VA_ARGS__); } while (0) -- 1.6.2.4