Mercurial > libpostproc.hg
diff postprocess.c @ 5:a4a3c84fe72f libpostproc
Add const to (mostly) char* and make some functions static, which aren't used
outside their declaring source file and which have no corresponding prototype.
patch by Stefan Huehner stefan^^@^^huehner^^.^^org
author | diego |
---|---|
date | Sun, 18 Jun 2006 11:33:14 +0000 |
parents | 7e8d09893454 |
children | e718a1049f9e |
line wrap: on
line diff
--- a/postprocess.c Fri Jun 09 13:13:08 2006 +0000 +++ b/postprocess.c Sun Jun 18 11:33:14 2006 +0000 @@ -161,7 +161,7 @@ {NULL, NULL,0,0,0,0} //End Marker }; -static char *replaceTable[]= +static const char *replaceTable[]= { "default", "hdeblock:a,vdeblock:a,dering:a", "de", "hdeblock:a,vdeblock:a,dering:a", @@ -766,8 +766,8 @@ { char temp[GET_MODE_BUFFER_SIZE]; char *p= temp; - char *filterDelimiters= ",/"; - char *optionDelimiters= ":"; + const char *filterDelimiters= ",/"; + const char *optionDelimiters= ":"; struct PPMode *ppMode; char *filterToken;