aboutsummaryrefslogtreecommitdiff
path: root/HACKING
blob: 4211d15a067ac4af657278d414d397fa26168c7a (plain)
1
2
3
4
5
6
1. Preprocessor

For variadic macros, stick with this C99-like syntax:

#define DPRINTF(fmt, ...)                                       \
    do { printf("IRQ: " fmt, ## __VA_ARGS__); } while (0)