| 1 | // "System header" for testing that -Wformat-extra-args does not apply to |
|---|---|
| 2 | // arguments specified in system headers. |
| 3 | |
| 4 | #define PRINT2(fmt, a1, a2) \ |
| 5 | printf((fmt), (a1), (a2)) |
| 6 | |
| 7 | #define PRINT1(fmt, a1) \ |
| 8 | PRINT2((fmt), (a1), 0) |
| 9 |
| 1 | // "System header" for testing that -Wformat-extra-args does not apply to |
|---|---|
| 2 | // arguments specified in system headers. |
| 3 | |
| 4 | #define PRINT2(fmt, a1, a2) \ |
| 5 | printf((fmt), (a1), (a2)) |
| 6 | |
| 7 | #define PRINT1(fmt, a1) \ |
| 8 | PRINT2((fmt), (a1), 0) |
| 9 |