Skip to content

Commit

Permalink
Fix -Wstrict-prototypes
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Mar 17, 2023
1 parent 5d5fdaf commit 58d4355
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cmark/node.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ void cmark_register_node_flag(cmark_node_internal_flags *flags) {
nextflag <<= 1;
}

void cmark_init_standard_node_flags() {}
void cmark_init_standard_node_flags(void) {}

bool cmark_node_can_contain_type(cmark_node *node, cmark_node_type child_type) {
if (child_type == CMARK_NODE_DOCUMENT) {
Expand Down
2 changes: 1 addition & 1 deletion src/cmark/node.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ void cmark_register_node_flag(cmark_node_internal_flags *flags);
* library. It is now a no-op.
*/
CMARK_GFM_EXPORT
void cmark_init_standard_node_flags();
void cmark_init_standard_node_flags(void);

static CMARK_INLINE cmark_mem *cmark_node_mem(cmark_node *node) {
return node->content.mem;
Expand Down

0 comments on commit 58d4355

Please sign in to comment.