summaryrefslogtreecommitdiff
path: root/lib/vty.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-06-12 17:08:01 +0200
committerDavid Lamparter <equinox@diac24.net>2019-06-12 19:35:43 +0200
commitafb35622ef61212f0fe960a31c2326a9379bceae (patch)
treea3e691f3bd7e9d59871462d1bab8bdef63d3dd24 /lib/vty.h
parentc7179009cf1713db55d48e6ab1275ac00be555ac (diff)
lib: make "%Ld" work for int64_t
... without compiler plugins. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/vty.h')
-rw-r--r--lib/vty.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/vty.h b/lib/vty.h
index 035e758024..c7352efbd3 100644
--- a/lib/vty.h
+++ b/lib/vty.h
@@ -302,8 +302,8 @@ extern struct vty *vty_stdio(void (*atclose)(int isexit));
* - vty_endframe() clears the buffer without printing it, and prints an
* extra string if the buffer was empty before (for context-end markers)
*/
-extern int vty_out(struct vty *, const char *, ...) PRINTF_ATTRIBUTE(2, 3);
-extern void vty_frame(struct vty *, const char *, ...) PRINTF_ATTRIBUTE(2, 3);
+extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3);
+extern void vty_frame(struct vty *, const char *, ...) PRINTFRR(2, 3);
extern void vty_endframe(struct vty *, const char *);
bool vty_set_include(struct vty *vty, const char *regexp);