diff options
Diffstat (limited to 'src/xml.h')
-rw-r--r-- | src/xml.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |