Skip to content

Commit

Permalink
Fix get_comments prototype deprecation (#186)
Browse files Browse the repository at this point in the history
passing arguments to 'get_comments' without a prototype is deprecated in all versions of C and is not supported in C2x
  • Loading branch information
tmcgilchrist authored Dec 8, 2023
1 parent dfd6cbe commit 2f04d0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c/src/ast_builder.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ static wchar_t* create_multi_line_text_from_tokens(int text_length, int line_cou

static const wchar_t* get_description(AstNode* ast_node);

static const Comments* get_comments();
static const Comments* get_comments(AstBuilder* ast_builder);

static void ensure_cell_count(ErrorList* errors, const TableRows* rows, const TableRow* header, AstNode* ast_node);

Expand Down

0 comments on commit 2f04d0a

Please sign in to comment.