summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp-api/client')
-rw-r--r--src/vpp-api/client/stat_client.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vpp-api/client/stat_client.h b/src/vpp-api/client/stat_client.h
index 9385cd242d5..9d2e50c902e 100644
--- a/src/vpp-api/client/stat_client.h
+++ b/src/vpp-api/client/stat_client.h
@@ -90,9 +90,6 @@ typedef struct
uint64_t epoch;
} stat_segment_access_t;
-/*
- * Returns 0 on success, -1 on failure (timeout)
- */
static inline uint64_t
_time_now_nsec (void)
{
@@ -108,6 +105,9 @@ stat_segment_adjust (stat_client_main_t * sm, void *data)
((char *) data - (char *) sm->shared_header->base));
}
+/*
+ * Returns 0 on success, -1 on failure (timeout)
+ */
static inline int
stat_segment_access_start (stat_segment_access_t * sa,
stat_client_main_t * sm)