aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tree_sitter/query.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tree_sitter/query.c b/src/tree_sitter/query.c
index a5ce86032c..2563325248 100644
--- a/src/tree_sitter/query.c
+++ b/src/tree_sitter/query.c
@@ -224,7 +224,7 @@ static void stream_scan_identifier(Stream *stream) {
* CaptureListPool
******************/
-static CaptureListPool capture_list_pool_new() {
+static CaptureListPool capture_list_pool_new(void) {
return (CaptureListPool) {
.list = array_new(),
.usage_map = UINT32_MAX,
@@ -269,7 +269,7 @@ static void capture_list_pool_release(CaptureListPool *self, uint16_t id) {
* SymbolTable
**************/
-static SymbolTable symbol_table_new() {
+static SymbolTable symbol_table_new(void) {
return (SymbolTable) {
.characters = array_new(),
.slices = array_new(),