declare constant function parameters const (as well as constant function return values)

This commit is contained in:
marschap
2006-09-12 16:23:24 +00:00
parent f34c246200
commit cc2c84a7b8
21 changed files with 78 additions and 68 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ lcterm_init (Driver *drvthis)
/* Get and parse size */
{
int w, h;
char *s = drvthis->config_get_string(drvthis->name, "Size", 0, "16x2");
const char *s = drvthis->config_get_string(drvthis->name, "Size", 0, "16x2");
debug(RPT_DEBUG, "%s: reading size: %s", __FUNCTION__, s);