diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-10-06 19:16:37 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-10-06 19:16:37 +0000 |
commit | e5913135a86509fac8d16e7c4993fd10357a663e (patch) | |
tree | 65892d9a6e7aa34944bdc598d31a2244b6077916 /src/parse/propstrings.c | |
parent | e0f1048bbeb7dfff28d32edba4a7944a411f6299 (diff) | |
download | libcss-e5913135a86509fac8d16e7c4993fd10357a663e.tar.gz libcss-e5913135a86509fac8d16e7c4993fd10357a663e.tar.bz2 |
Tidy up
svn path=/trunk/libcss/; revision=12973
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] = { |