summaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2007-09-23 20:15:13 +0200
committerTilman Sauerbeck <tilman@code-monkey.de>2007-09-23 20:15:13 +0200
commit829cb75130d1edd88fa1d33e277f49167daedacf (patch)
tree1eac332bfee7048c57a0b15349dc70a6b821a2c1 /misc.h
parente8ffa513a109209849b11a3c608356cc28314a8e (diff)
Fixed a bunch of const correctness bugs.
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/misc.h b/misc.h
index 5546169..fd16db4 100644
--- a/misc.h
+++ b/misc.h
@@ -60,22 +60,22 @@ extern XPointer AddCommonInfo(
);
extern int ReportNotArray(
- char * /* type */,
- char * /* field */,
- char * /* name */
+ const char * /* type */,
+ const char * /* field */,
+ const char * /* name */
);
extern int ReportShouldBeArray(
- char * /* type */,
- char * /* field */,
+ const char * /* type */,
+ const char * /* field */,
char * /* name */
);
extern int ReportBadType(
- char * /* type */,
- char * /* field */,
- char * /* name */,
- char * /* wanted */
+ const char * /* type */,
+ const char * /* field */,
+ const char * /* name */,
+ const char * /* wanted */
);
extern int ReportBadIndexType(
@@ -86,9 +86,9 @@ extern int ReportBadIndexType(
);
extern int ReportBadField(
- char * /* type */,
- char * /* field */,
- char * /* name */
+ const char * /* type */,
+ const char * /* field */,
+ const char * /* name */
);
extern int ReportMultipleDefs(