summaryrefslogtreecommitdiffstats
path: root/src/xml.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xml.h')
-rw-r--r--src/xml.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xml.h b/src/xml.h
index 55207a3..62a2f46 100644
--- a/src/xml.h
+++ b/src/xml.h
@@ -22,7 +22,8 @@
#include <expat.h>
#include <SDL_stdinc.h>
-int xml_check_tag(const char *found, const char *expected);
+int xml_check_tag(const char *found, const char *expected)
+ __attribute__((__pure__));
void xml_unexpected_start_tag(XML_Parser p, const char *found,
const char *expected);
void xml_unexpected_end_tag(XML_Parser p, const char *found,
@@ -37,6 +38,6 @@ void xml_node_push(XML_Parser p, void *data,
XML_StartElementHandler start, XML_EndElementHandler end,
XML_CharacterDataHandler charhndl);
void *xml_node_pop(XML_Parser p);
-void *xml_node_peek(XML_Parser p);
+void *xml_node_peek(XML_Parser p) __attribute__((__pure__));
#endif