summaryrefslogtreecommitdiff
path: root/src/stylesheet.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-09-02 12:38:31 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-09-02 12:38:31 +0000
commit3e1a4bc4d2556149f1024c257d186e3e6771bbed (patch)
tree135e2e8b1d1dbeb466d72f264f53f076488a9f57 /src/stylesheet.c
parent0b6d7198f4fc46961c57530e654691b5a66b36f0 (diff)
downloadlibcss-3e1a4bc4d2556149f1024c257d186e3e6771bbed.tar.gz
libcss-3e1a4bc4d2556149f1024c257d186e3e6771bbed.tar.bz2
Make "params" argument to css_stylesheet_create const. Thanks to James Montgomerie.
svn path=/trunk/libcss/; revision=12697
Diffstat (limited to 'src/stylesheet.c')
-rw-r--r--src/stylesheet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stylesheet.c b/src/stylesheet.c
index 6b4bf77..ba76d37 100644
--- a/src/stylesheet.c
+++ b/src/stylesheet.c
@@ -120,7 +120,7 @@ css_error css__stylesheet_string_get(css_stylesheet *sheet, uint32_t string_numb
* CSS_BADPARM on bad parameters,
* CSS_NOMEM on memory exhaustion
*/
-css_error css_stylesheet_create(css_stylesheet_params *params,
+css_error css_stylesheet_create(const css_stylesheet_params *params,
css_allocator_fn alloc, void *alloc_pw,
css_stylesheet **stylesheet)
{