bgpd/rfapi: add missing printf attribute

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
David Lamparter 2023-01-31 22:04:39 +01:00
parent c695bdbedb
commit e3a7fc5021

View File

@ -62,7 +62,8 @@ extern int rfapiStr2EthAddr(const char *str, struct ethaddr *ea);
extern const char *rfapi_ntop(int af, const void *src, char *buf, extern const char *rfapi_ntop(int af, const void *src, char *buf,
socklen_t size); socklen_t size);
extern int rfapiDebugPrintf(void *dummy, const char *format, ...); extern int rfapiDebugPrintf(void *dummy, const char *format, ...)
PRINTFRR(2, 3);
extern int rfapiStream2Vty(void *stream, /* input */ extern int rfapiStream2Vty(void *stream, /* input */
int (**fp)(void *, const char *, ...), /* output */ int (**fp)(void *, const char *, ...), /* output */