Skip to content

Commit 730b009

Browse files
authored
Fix strict prototype clang warning
cmark-gfm/src/node.h:122:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void cmark_init_standard_node_flags(); ^ void 1 warning generated.
1 parent c32ef78 commit 730b009

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ void cmark_register_node_flag(cmark_node_internal_flags *flags);
119119
* library. It is now a no-op.
120120
*/
121121
CMARK_GFM_EXPORT
122-
void cmark_init_standard_node_flags();
122+
void cmark_init_standard_node_flags(void);
123123

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

0 commit comments

Comments
 (0)