summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@users.noreply.github.com>2019-06-13 20:00:50 +0200
committerGitHub <noreply@github.com>2019-06-13 20:00:50 +0200
commit096873bd469d72ee0c9d0d27f444cd8cbfa655e0 (patch)
treef5b051471b61b2dc1983f89a804a9b5bb379834c /tests/lib
parentMerge pull request #4502 from opensourcerouting/topotest-backward-compat (diff)
parentbuild: use -O2, not -Os (diff)
downloadfrr-096873bd469d72ee0c9d0d27f444cd8cbfa655e0.tar.xz
frr-096873bd469d72ee0c9d0d27f444cd8cbfa655e0.zip
Merge pull request #4509 from opensourcerouting/spanish-intquisition
lib: make printfrr int64_t usable
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/test_printfrr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/test_printfrr.c b/tests/lib/test_printfrr.c
index c8ef150b0..24de3fa88 100644
--- a/tests/lib/test_printfrr.c
+++ b/tests/lib/test_printfrr.c
@@ -27,6 +27,7 @@
static int errors;
+static void printcmp(const char *fmt, ...) PRINTFRR(1, 2);
static void printcmp(const char *fmt, ...)
{
va_list ap;
@@ -58,6 +59,7 @@ static void printcmp(const char *fmt, ...)
errors++;
}
+static void printchk(const char *ref, const char *fmt, ...) PRINTFRR(2, 3);
static void printchk(const char *ref, const char *fmt, ...)
{
va_list ap;