Skip to content

Commit

Permalink
Fix xcode void arg warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcnamara committed Jan 13, 2020
1 parent bbfea4c commit 78f6d77
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/xlsxwriter/comment.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ extern "C" {
#endif
/* *INDENT-ON* */

lxw_comment *lxw_comment_new();
lxw_comment *lxw_comment_new(void);
void lxw_comment_free(lxw_comment *comment);
void lxw_comment_assemble_xml_file(lxw_comment *self);

Expand Down
2 changes: 1 addition & 1 deletion include/xlsxwriter/vml.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ extern "C" {
#endif
/* *INDENT-ON* */

lxw_vml *lxw_vml_new();
lxw_vml *lxw_vml_new(void);
void lxw_vml_free(lxw_vml *vml);
void lxw_vml_assemble_xml_file(lxw_vml *self);

Expand Down
2 changes: 1 addition & 1 deletion src/comment.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ _get_author_index(lxw_comment *self, char *author)
* Create a new comment object.
*/
lxw_comment *
lxw_comment_new()
lxw_comment_new(void)
{
lxw_comment *comment = calloc(1, sizeof(lxw_comment));
GOTO_LABEL_ON_MEM_ERROR(comment, mem_error);
Expand Down
2 changes: 1 addition & 1 deletion src/vml.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* Create a new vml object.
*/
lxw_vml *
lxw_vml_new()
lxw_vml_new(void)
{
lxw_vml *vml = calloc(1, sizeof(lxw_vml));
GOTO_LABEL_ON_MEM_ERROR(vml, mem_error);
Expand Down

0 comments on commit 78f6d77

Please sign in to comment.