]> git.proxmox.com Git - mirror_frr.git/blobdiff - tests/lib/test_printfrr.c
lib: make "%Ld" work for int64_t
[mirror_frr.git] / tests / lib / test_printfrr.c
index c8ef150b07bc03564da3b042e07d7f4730018699..24de3fa88d0d88720d7a8dedb7dda11babee1b1e 100644 (file)
@@ -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;