summaryrefslogtreecommitdiffstats
path: root/src/vat/main.c
diff options
context:
space:
mode:
authorYi He <yi.he@arm.com>2018-07-16 13:52:00 +0800
committerDave Barach <openvpp@barachs.net>2018-07-31 14:07:19 +0000
commitd05ce97724ed8681e80c32a948564d0163994365 (patch)
tree91cff274f32ce27c9c2d0f3c02e2d55a4ea00734 /src/vat/main.c
parent15c3a6ad8094aeec6bbb78845d25050aabb82f4d (diff)
Fix undefined symbol: fformat_append_cr in vat plugins loading
Several test plugins report undefined symbol while being loaded by load_one_vat_plugin. Fix this by adding VPP_API_TEST_BUILTIN into CFLAGS for building these plugins. Change-Id: I908720fd0d01da1ead30ba17027ba10358f6bdf1 Signed-off-by: Yi He <yi.he@arm.com>
Diffstat (limited to 'src/vat/main.c')
-rw-r--r--src/vat/main.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/vat/main.c b/src/vat/main.c
index c34ec947252..1287be9bdf0 100644
--- a/src/vat/main.c
+++ b/src/vat/main.c
@@ -26,17 +26,6 @@ vat_suspend (vlib_main_t * vm, f64 interval)
/* do nothing in the standalone version, just return */
}
-void
-fformat_append_cr (FILE * ofp, const char *fmt, ...)
-{
- va_list va;
-
- va_start (va, fmt);
- (void) va_fformat (ofp, (char *) fmt, &va);
- va_end (va);
- fformat (ofp, "\n");
-}
-
int
connect_to_vpe (char *name)
{