From 43a99ab683d14c4a11d5fbeaef90d68c84e345fb Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 3 Apr 2010 16:37:36 +0000 Subject: Constify data parameter to *_process_data svn path=/trunk/netsurf/; revision=10234 --- css/css.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'css/css.c') diff --git a/css/css.c b/css/css.c index eff6690ac..b0a3cd472 100644 --- a/css/css.c +++ b/css/css.c @@ -117,7 +117,7 @@ nserror nscss_create_css_data(struct content_css_data *c, * \param size Number of bytes to process * \return true on success, false on failure */ -bool nscss_process_data(struct content *c, char *data, unsigned int size) +bool nscss_process_data(struct content *c, const char *data, unsigned int size) { union content_msg_data msg_data; css_error error; @@ -139,7 +139,7 @@ bool nscss_process_data(struct content *c, char *data, unsigned int size) * \param size Number of bytes to process * \return CSS_OK on success, appropriate error otherwise */ -css_error nscss_process_css_data(struct content_css_data *c, char *data, +css_error nscss_process_css_data(struct content_css_data *c, const char *data, unsigned int size) { return css_stylesheet_append_data(c->sheet, -- cgit v1.2.3