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

- old
+ new

@@ -1,11 +1,11 @@ /***************************************************************************** * relationships - A library for creating Excel XLSX relationships 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 <string.h> #include "xlsxwriter/xmlwriter.h" @@ -24,10 +24,10 @@ /* * Create a new relationships object. */ lxw_relationships * -lxw_relationships_new() +lxw_relationships_new(void) { lxw_relationships *rels = calloc(1, sizeof(lxw_relationships)); GOTO_LABEL_ON_MEM_ERROR(rels, mem_error); rels->relationships = calloc(1, sizeof(struct lxw_rel_tuples));