Skip to content
Snippets Groups Projects
Commit 45fad878 authored by Blue Swirl's avatar Blue Swirl
Browse files

HACKING: add preprocessor rules


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: default avatarBlue Swirl <blauwirbel@gmail.com>
parent 9f810beb
No related branches found
No related tags found
No related merge requests found
1. Preprocessor
For variadic macros, stick with this C99-like syntax:
#define DPRINTF(fmt, ...) \
do { printf("IRQ: " fmt, ## __VA_ARGS__); } while (0)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment