]> git.puffer.fish Git - mirror/frr.git/commit
lib: add `FMT_NSTD()` for non-standard printf exts
authorDavid Lamparter <equinox@diac24.net>
Fri, 26 Mar 2021 17:11:21 +0000 (18:11 +0100)
committerDavid Lamparter <equinox@diac24.net>
Tue, 30 Mar 2021 20:32:59 +0000 (22:32 +0200)
commitcb4928ce77c089ae521301776ed90e994c29800c
tree3e595e3b458c3abed63c485eac59cfb229fdb3a7
parent2d9a4e2931e4f20c6bc49b09956a1e350664e3f2
lib: add `FMT_NSTD()` for non-standard printf exts

... to suppress the warnings when using something that isn't quite ISO C
compatible and would otherwise cause compiler warnings from `-Wformat`.

Signed-off-by: David Lamparter <equinox@diac24.net>
lib/printfrr.h
tests/lib/test_printfrr.c