aboutsummaryrefslogtreecommitdiff
path: root/src/tree_sitter/query.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tree_sitter/query.c')
-rw-r--r--src/tree_sitter/query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tree_sitter/query.c b/src/tree_sitter/query.c
index 1ffc5ad6e2..59902dee3b 100644
--- a/src/tree_sitter/query.c
+++ b/src/tree_sitter/query.c
@@ -1267,7 +1267,7 @@ void ts_query_disable_pattern(
* QueryCursor
***************/
-TSQueryCursor *ts_query_cursor_new() {
+TSQueryCursor *ts_query_cursor_new(void) {
TSQueryCursor *self = ts_malloc(sizeof(TSQueryCursor));
*self = (TSQueryCursor) {
.ascending = false,