diff options
author | Damjan Marion <damarion@cisco.com> | 2020-10-17 13:32:25 +0200 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2020-10-17 21:01:42 +0000 |
commit | dae1c7ed38e9f7a86e66f3674de62778cc981331 (patch) | |
tree | c84fd7a94e1249233d5533e15d54bef52582ee4c /src/vppinfra/time.c | |
parent | ada5bbf3303e8fb6f53ff39e6074ae820457224d (diff) |
vppinfra: explicitly export symbols
Type: improvement
Change-Id: I57a9f85f7df1fc48656b72592349f4c544302f77
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra/time.c')
-rw-r--r-- | src/vppinfra/time.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vppinfra/time.c b/src/vppinfra/time.c index 0b00a11421d..3377828bbc5 100644 --- a/src/vppinfra/time.c +++ b/src/vppinfra/time.c @@ -135,7 +135,7 @@ done: return cpu_freq; } -f64 +__clib_export f64 os_cpu_clock_frequency (void) { #if defined (__aarch64__) @@ -203,7 +203,7 @@ os_cpu_clock_frequency (void) #endif /* CLIB_UNIX */ /* Initialize time. */ -void +__clib_export void clib_time_init (clib_time_t * c) { clib_memset (c, 0, sizeof (c[0])); @@ -247,7 +247,7 @@ clib_time_init (clib_time_t * c) c->damping_constant = exp (-1.0 / 3.75); } -void +__clib_export void clib_time_verify_frequency (clib_time_t * c) { f64 now_reference, delta_reference, delta_reference_max; @@ -328,7 +328,7 @@ clib_time_verify_frequency (clib_time_t * c) } -u8 * +__clib_export u8 * format_clib_time (u8 * s, va_list * args) { clib_time_t *c = va_arg (*args, clib_time_t *); |