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

- old
+ new

@@ -1,11 +1,11 @@ /***************************************************************************** * drawing - A library for creating Excel XLSX drawing 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/common.h" @@ -25,10 +25,10 @@ /* * Create a new drawing collection. */ lxw_drawing * -lxw_drawing_new() +lxw_drawing_new(void) { lxw_drawing *drawing = calloc(1, sizeof(lxw_drawing)); GOTO_LABEL_ON_MEM_ERROR(drawing, mem_error); drawing->drawing_objects = calloc(1, sizeof(struct lxw_drawing_objects));