summaryrefslogtreecommitdiffstats
path: root/src/xml.c
diff options
context:
space:
mode:
authorP. 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)
commit22357decdbdd612a00bcfa9291b767e6f068fd9f (patch)
tree9f561763e76da4fb57679de89731a04f25c84c58 /src/xml.c
parent8935a3d7639615d142510cde24b3ef7f1e71eab5 (diff)
downloadoverworld-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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xml.c b/src/xml.c
index b10b4c7..e677fe1 100644
--- a/src/xml.c
+++ b/src/xml.c
@@ -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",