Skip to content

Commit

Permalink
set optional args
Browse files Browse the repository at this point in the history
  • Loading branch information
holywyvern committed May 10, 2020
1 parent 967899e commit aa3aca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tmx_xml.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ xmlTextReaderPtr (*tmx_xml_reader_load_func) (const char *path, const char *enco
void (*tmx_xml_reader_free_func) (xmlTextReaderPtr reader) = NULL;

static void
set_xml_functions()
set_xml_functions(void)
{
if (!tmx_xml_reader_load_func) { tmx_xml_reader_load_func = xmlReaderForFile; }
if (!tmx_xml_reader_free_func) { tmx_xml_reader_free_func = xmlFreeTextReader; }
Expand Down

0 comments on commit aa3aca5

Please sign in to comment.