From cf872c750ac9c937cb77d4bb31abf70d1c4afac7 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 10 Mar 2005 10:20:36 +0000 Subject: Explicitly constify a bunch of static data declarations which were conceptually const but not declared as such. Halibut is now back to the practically-speaking-pointless but rather satisfying status of having no global writable data whatsoever :-) [originally from svn r5476] [this svn revision also touched charset,filter,timber] --- bk_html.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bk_html.c') diff --git a/bk_html.c b/bk_html.c index 4da897f..3cd8eca 100644 --- a/bk_html.c +++ b/bk_html.c @@ -2101,7 +2101,7 @@ static char *html_sanitise_fragment(htmlfilelist *files, htmlfile *file, /* If there's nothing left, make something valid up */ if (!*text) { - static const char *anonfrag = "anon"; + static const char *const anonfrag = "anon"; text = sresize(text, lenof(anonfrag), char); strcpy(text, anonfrag); } -- cgit v1.1