aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp-api/client
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2020-08-14 18:00:33 +0200
committerOle Trøan <otroan@employees.org>2020-08-17 10:35:48 +0000
commit9a412bcec44e772262e937d795d127b76177dfa4 (patch)
tree046df251dbeb4ca0318d96df3efb6b7d28f38906 /src/vpp-api/client
parentf92bfb1bdea0798fc7e1236675465b5bd7b90b79 (diff)
stats: Move misplaced comment block
Type: fix Fixes: fdc678081ca5f0971b8bcbf312c1e83017365c33 Change-Id: I64d15b050cfd3d88923bf996cb68b13504dbf6af Signed-off-by: Vratko Polak <vrpolak@cisco.com>
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)