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

This commit is contained in:
marschap committed 2006-09-12 16:23:24 +00:00
1 parent f34c246200
commit cc2c84a7b8
21 files changed
+78 -68

No files matched your search

+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);