diff options
-rw-r--r-- | src/vat/main.c | 11 | ||||
-rw-r--r-- | src/vppinfra/format.c | 11 |
2 files changed, 11 insertions, 11 deletions
diff --git a/src/vat/main.c b/src/vat/main.c index 4357114376d..693e6323f20 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) { diff --git a/src/vppinfra/format.c b/src/vppinfra/format.c index 70292c048ec..e2fd84bb08b 100644 --- a/src/vppinfra/format.c +++ b/src/vppinfra/format.c @@ -463,6 +463,17 @@ fformat (FILE * f, char *fmt, ...) } #ifdef CLIB_UNIX +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"); +} + word fdformat (int fd, char *fmt, ...) { |