Skip to content

Commit e5040b1

Browse files
Merge pull request commonmark#310 from huven/prototype-warning
Fix strict prototype clang warning
2 parents c4de252 + e840cad commit e5040b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/node.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ void cmark_register_node_flag(cmark_node_internal_flags *flags) {
3939
nextflag <<= 1;
4040
}
4141

42-
void cmark_init_standard_node_flags() {}
42+
void cmark_init_standard_node_flags(void) {}
4343

4444
bool cmark_node_can_contain_type(cmark_node *node, cmark_node_type child_type) {
4545
if (child_type == CMARK_NODE_DOCUMENT) {

src/node.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ void cmark_register_node_flag(cmark_node_internal_flags *flags);
128128
* library. It is now a no-op.
129129
*/
130130
CMARK_GFM_EXPORT
131-
void cmark_init_standard_node_flags();
131+
void cmark_init_standard_node_flags(void);
132132

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

0 commit comments

Comments
 (0)