From 9a412bcec44e772262e937d795d127b76177dfa4 Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Fri, 14 Aug 2020 18:00:33 +0200 Subject: [PATCH] stats: Move misplaced comment block Type: fix Fixes: fdc678081ca5f0971b8bcbf312c1e83017365c33 Change-Id: I64d15b050cfd3d88923bf996cb68b13504dbf6af Signed-off-by: Vratko Polak --- src/vpp-api/client/stat_client.h | 6 +++--- 1 file 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) -- 2.16.6