diff options
author | P. J. McDermott <pjm@nac.net> | 2013-02-19 22:06:09 (EST) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-02-19 22:06:09 (EST) |
commit | 22357decdbdd612a00bcfa9291b767e6f068fd9f (patch) | |
tree | 9f561763e76da4fb57679de89731a04f25c84c58 /src/xml.c | |
parent | 8935a3d7639615d142510cde24b3ef7f1e71eab5 (diff) | |
download | overworld-rpg-22357decdbdd612a00bcfa9291b767e6f068fd9f.zip overworld-rpg-22357decdbdd612a00bcfa9291b767e6f068fd9f.tar.gz overworld-rpg-22357decdbdd612a00bcfa9291b767e6f068fd9f.tar.bz2 |
Enable and fix a bunch of GCC warnings.
Diffstat (limited to 'src/xml.c')
-rw-r--r-- | src/xml.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -14,13 +14,13 @@ struct xml_node { struct xml_node *parent; }; -inline int +int xml_check_tag(const char *found, const char *expected) { return strcmp(found, expected) == 0; } -inline void +void xml_unexpected_start_tag(XML_Parser p, const char *found, const char *expected) { warn("Found \"%s\" start tag where expected one of \"%s\" in map", @@ -28,7 +28,7 @@ xml_unexpected_start_tag(XML_Parser p, const char *found, const char *expected) XML_StopParser(p, XML_FALSE); } -inline void +void xml_unexpected_end_tag(XML_Parser p, const char *found, const char *expected) { warn("Found \"%s\" end tag where expected one of \"%s\" in map", |