ext/xlsxwriter/libxlsxwriter/src/core.c in xlsxwriter-0.0.6 vs ext/xlsxwriter/libxlsxwriter/src/core.c in xlsxwriter-0.1.0

- old
+ new

@@ -1,11 +1,11 @@ /***************************************************************************** * core - A library for creating Excel XLSX core files. * * Used in conjunction with the libxlsxwriter library. * - * Copyright 2014-2018, John McNamara, jmcnamara@cpan.org. See LICENSE.txt. + * Copyright 2014-2019, John McNamara, jmcnamara@cpan.org. See LICENSE.txt. * */ #include "xlsxwriter/xmlwriter.h" #include "xlsxwriter/core.h" @@ -23,10 +23,10 @@ /* * Create a new core object. */ lxw_core * -lxw_core_new() +lxw_core_new(void) { lxw_core *core = calloc(1, sizeof(lxw_core)); GOTO_LABEL_ON_MEM_ERROR(core, mem_error); return core;