stats: Move misplaced comment block 22/28422/3
authorVratko Polak <vrpolak@cisco.com>
Fri, 14 Aug 2020 16:00:33 +0000 (18:00 +0200)
committerOle Trøan <otroan@employees.org>
Mon, 17 Aug 2020 10:35:48 +0000 (10:35 +0000)
Type: fix
Fixes: fdc678081ca5f0971b8bcbf312c1e83017365c33

Change-Id: I64d15b050cfd3d88923bf996cb68b13504dbf6af
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
src/vpp-api/client/stat_client.h

index 9385cd2..9d2e50c 100644 (file)
@@ -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)