Move enum higher in header
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 8 Nov 2022 15:45:07 +0000 (10:45 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 8 Nov 2022 15:45:07 +0000 (10:45 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/side/trace.h

index 1fa43baacb7f966e90ab5d39996f784c96a13586..90e8d5355ae262a3d5a8bd03b153cc41eba87b55 100644 (file)
@@ -241,6 +241,11 @@ enum side_type_label_byte_order {
 # define SIDE_TYPE_FLOAT_WORD_ORDER_HOST       SIDE_TYPE_BYTE_ORDER_BE
 #endif
 
+enum side_type_gather_access_mode {
+       SIDE_TYPE_GATHER_ACCESS_ADDRESS,
+       SIDE_TYPE_GATHER_ACCESS_POINTER,
+};
+
 typedef enum side_visitor_status (*side_visitor_func)(
                const struct side_tracer_visitor_ctx *tracer_ctx,
                void *app_ctx);
@@ -430,11 +435,6 @@ struct side_type_gather_vla {
        struct side_type_vla type;
 } SIDE_PACKED;
 
-enum side_type_gather_access_mode {
-       SIDE_TYPE_GATHER_ACCESS_ADDRESS,
-       SIDE_TYPE_GATHER_ACCESS_POINTER,
-};
-
 struct side_type_gather {
        union {
                struct side_type_gather_byte side_byte;
This page took 0.025389 seconds and 4 git commands to generate.