diff options
author | Tilman Sauerbeck <tilman@code-monkey.de> | 2007-09-23 20:15:13 +0200 |
---|---|---|
committer | Tilman Sauerbeck <tilman@code-monkey.de> | 2007-09-23 20:15:13 +0200 |
commit | 829cb75130d1edd88fa1d33e277f49167daedacf (patch) | |
tree | 1eac332bfee7048c57a0b15349dc70a6b821a2c1 /action.c | |
parent | e8ffa513a109209849b11a3c608356cc28314a8e (diff) |
Fixed a bunch of const correctness bugs.
Diffstat (limited to 'action.c')
-rw-r--r-- | action.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -185,7 +185,7 @@ static char buf[32]; /***====================================================================***/ static Bool -ReportMismatch(unsigned action,unsigned field,char *type) +ReportMismatch(unsigned action, unsigned field, const char *type) { ERROR2("Value of %s field must be of type %s\n",fieldText(field),type); ACTION1("Action %s definition ignored\n", @@ -214,7 +214,7 @@ ReportActionNotArray(unsigned action,unsigned field) } static Bool -ReportNotFound(unsigned action,unsigned field,char *what,char *bad) +ReportNotFound(unsigned action, unsigned field, const char *what, char *bad) { ERROR2("%s named %s not found\n",what,bad); ACTION2("Ignoring the %s field of an %s action\n",fieldText(field), |