From d05ce97724ed8681e80c32a948564d0163994365 Mon Sep 17 00:00:00 2001 From: Yi He Date: Mon, 16 Jul 2018 13:52:00 +0800 Subject: 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 --- src/vat/main.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/vat') 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) { -- cgit 1.2.3-korg