Commit 510ccc4a authored by Simon McVittie's avatar Simon McVittie
Browse files

capsule-malloc: Remove duplicate typedef for mstate

I occasionally compile libcapsule with clang for better diagnostics.
Redefining typedefs is a C11 feature, which clang 8 won't allow in
C99 mode.
Signed-off-by: Simon McVittie's avatarSimon McVittie <>
parent fce1548e
Pipeline #6530 passed with stage
in 24 minutes and 31 seconds
......@@ -197,8 +197,6 @@ typedef struct _heap_info
#define chunk_at_offset(p, s) ((mchunkptr) (((char *) (p)) + (s)))
typedef struct malloc_state *mstate;
#define contiguous(M) (((M)->flags & NONCONTIGUOUS_BIT) == 0)
#define noncontiguous(M) (((M)->flags & NONCONTIGUOUS_BIT) != 0)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment