diff options
| author | David Lamparter <equinox@diac24.net> | 2019-08-02 17:42:06 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2020-03-29 10:45:46 +0200 |
| commit | 07ef3e34ae0a414cefed99488abcbc167a9c0f3d (patch) | |
| tree | d4e945a2c6e94d541e27d0a8bfef18f248a94f40 /lib/printfrr.h | |
| parent | 47466c571f6468b8b8a92de4c451057bd96d1233 (diff) | |
lib: prepare for plugin-based frr_format check
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/printfrr.h')
| -rw-r--r-- | lib/printfrr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/printfrr.h b/lib/printfrr.h index f9584bcacc..6fcfbe31fa 100644 --- a/lib/printfrr.h +++ b/lib/printfrr.h @@ -31,7 +31,7 @@ struct fbuf { }; #define at(a, b) \ - __attribute__((format(printf, a, b))) + PRINTFRR(a, b) #define atn(a, b) \ at(a, b) __attribute__((nonnull(1) _RET_NONNULL)) #define atm(a, b) \ @@ -75,6 +75,7 @@ char *asnprintfrr(struct memtype *mt, char *out, size_t sz, #undef at #undef atm +#undef atn /* extension specs must start with a capital letter (this is a restriction * for both performance's and human understanding's sake.) |
