From 093f7d0810b608a398d850b1f3a7661c1a129d25 Mon Sep 17 00:00:00 2001 From: Andrew Clayton Date: Thu, 24 Aug 2023 01:08:40 +0100 Subject: libunit-wasm: Put LUW_SRB_FLAGS_ALL in the enum No reason why this needed to be a separate #define. Signed-off-by: Andrew Clayton --- src/c/include/unit/unit-wasm.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/c') diff --git a/src/c/include/unit/unit-wasm.h b/src/c/include/unit/unit-wasm.h index df3852a..94e5848 100644 --- a/src/c/include/unit/unit-wasm.h +++ b/src/c/include/unit/unit-wasm.h @@ -126,9 +126,10 @@ typedef enum { LUW_SRB_APPEND = 0x01, LUW_SRB_ALLOC = 0x02, LUW_SRB_FULL_SIZE = 0x04, + + LUW_SRB_FLAGS_ALL = (LUW_SRB_NONE|LUW_SRB_APPEND|LUW_SRB_ALLOC| + LUW_SRB_FULL_SIZE) } luw_srb_flags_t; -#define LUW_SRB_FLAGS_ALL \ - (LUW_SRB_NONE|LUW_SRB_APPEND|LUW_SRB_ALLOC|LUW_SRB_FULL_SIZE) typedef struct luw_hdr_field luw_http_hdr_iter_t; -- cgit