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

- old
+ new

@@ -1,11 +1,11 @@ /***************************************************************************** * app - A library for creating Excel XLSX app 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/app.h" @@ -23,10 +23,10 @@ /* * Create a new app object. */ lxw_app * -lxw_app_new() +lxw_app_new(void) { lxw_app *app = calloc(1, sizeof(lxw_app)); GOTO_LABEL_ON_MEM_ERROR(app, mem_error); app->heading_pairs = calloc(1, sizeof(struct lxw_heading_pairs));