aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra/format.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2020-10-17 13:32:25 +0200
committerDave Barach <openvpp@barachs.net>2020-10-17 21:01:42 +0000
commitdae1c7ed38e9f7a86e66f3674de62778cc981331 (patch)
treec84fd7a94e1249233d5533e15d54bef52582ee4c /src/vppinfra/format.c
parentada5bbf3303e8fb6f53ff39e6074ae820457224d (diff)
vppinfra: explicitly export symbols
Type: improvement Change-Id: I57a9f85f7df1fc48656b72592349f4c544302f77 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra/format.c')
-rw-r--r--src/vppinfra/format.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/vppinfra/format.c b/src/vppinfra/format.c
index cb6cb455eaa..b67553c6f2d 100644
--- a/src/vppinfra/format.c
+++ b/src/vppinfra/format.c
@@ -383,7 +383,7 @@ done:
return f;
}
-u8 *
+__clib_export u8 *
va_format (u8 * s, const char *fmt, va_list * va)
{
const u8 *f = (u8 *) fmt, *g;
@@ -420,7 +420,7 @@ va_format (u8 * s, const char *fmt, va_list * va)
return s;
}
-u8 *
+__clib_export u8 *
format (u8 * s, const char *fmt, ...)
{
va_list va;
@@ -434,7 +434,7 @@ format (u8 * s, const char *fmt, ...)
return s;
}
-word
+__clib_export word
va_fformat (FILE * f, char *fmt, va_list * va)
{
word ret;
@@ -458,7 +458,7 @@ va_fformat (FILE * f, char *fmt, va_list * va)
return ret;
}
-word
+__clib_export word
fformat (FILE * f, char *fmt, ...)
{
va_list va;
@@ -472,7 +472,7 @@ fformat (FILE * f, char *fmt, ...)
}
#ifdef CLIB_UNIX
-void
+__clib_export void
fformat_append_cr (FILE * ofp, const char *fmt, ...)
{
va_list va;
@@ -483,7 +483,7 @@ fformat_append_cr (FILE * ofp, const char *fmt, ...)
fformat (ofp, "\n");
}
-word
+__clib_export word
fdformat (int fd, char *fmt, ...)
{
word ret;