libxlsxwriter/src/custom.c in fast_excel-0.2.6 vs libxlsxwriter/src/custom.c in fast_excel-0.3.0

- old
+ new

@@ -1,11 +1,11 @@ /***************************************************************************** * custom - A library for creating Excel custom property 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/custom.h" @@ -23,10 +23,10 @@ /* * Create a new custom object. */ lxw_custom * -lxw_custom_new() +lxw_custom_new(void) { lxw_custom *custom = calloc(1, sizeof(lxw_custom)); GOTO_LABEL_ON_MEM_ERROR(custom, mem_error); return custom;