Commit 3b6b4717 authored by Niels Möller's avatar Niels Möller
Browse files

(struct lsh_string_header): Empty structs are not

allowed by ANSI-C, so don't declare this one unless debugging is

Rev: src/lsh.h:1.24
parent 290a8fd7
......@@ -86,16 +86,13 @@ struct lsh_string_header
struct lsh_string *next;
#else /* !DEBUG_ALLOC */
struct lsh_string_header {};
#endif /* !DEBUG_ALLOC */
#endif /* DEBUG_ALLOC */
struct lsh_string
struct lsh_string_header header;
UINT32 sequence_number;
/* NOTE: The allocated size may be larger than the string length. */
UINT32 length;
Supports Markdown
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