aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vat/main.c11
-rw-r--r--src/vppinfra/format.c11
2 files changed, 11 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)
{
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, ...)
{