diff options
-rw-r--r-- | src/xml.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -23,7 +23,8 @@ #include <expat.h> #include <SDL_stdinc.h> -int db_xml_check_tag(const char *found, const char *expected); +int db_xml_check_tag(const char *found, const char *expected) + __attribute__((__pure__)); void db_xml_unexpected_start_tag(XML_Parser p, const char *found, const char *expected); void db_xml_unexpected_end_tag(XML_Parser p, const char *found, @@ -38,6 +39,7 @@ void db_xml_node_push(XML_Parser p, void *data, XML_StartElementHandler start, XML_EndElementHandler end, XML_CharacterDataHandler charhndl); void *db_xml_node_pop(XML_Parser p); -void *db_xml_node_peek(XML_Parser p); +void *db_xml_node_peek(XML_Parser p) + __attribute__((__pure__)); #endif /* DB_XML_H_ */ |