diff options
Diffstat (limited to 'src/parse/propstrings.c')
-rw-r--r-- | src/parse/propstrings.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/parse/propstrings.c b/src/parse/propstrings.c index 6973a54..bf1fcd0 100644 --- a/src/parse/propstrings.c +++ b/src/parse/propstrings.c @@ -10,14 +10,17 @@ #include <assert.h> +typedef struct stringmap_entry { + const char *data; + size_t len; +} stringmap_entry; + typedef struct css__propstrings_ctx { uint32_t count; lwc_string *strings[LAST_KNOWN]; -} css__propstings_ctx; +} css__propstrings_ctx; -css__propstings_ctx css__propstrings = { - .count = 0 -}; +static css__propstrings_ctx css__propstrings; /* Must be synchronised with enum in propstrings.h */ const stringmap_entry stringmap[LAST_KNOWN] = { |