Message ID | AANLkTiniJWsf8DMf-WNAkG576XOX6i-Lu_vLugK3S7iE@mail.gmail.com |
---|---|
State | New |
Headers | show |
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)
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 <blauwirbel@gmail.com> --- HACKING | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) create mode 100644 HACKING