aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-12-21 09:57:33 +0100
committerBjörn Linse <bjorn.linse@gmail.com>2019-12-22 11:57:19 +0100
commitc21511b2f48685461bf2655b28eff4434c91d449 (patch)
treebb69c9bcb6b2faf37bcefc0b5926a131f6f14749 /src
parentf486d2145a5c252d7f37ea399f9a769ddd745934 (diff)
downloadrneovim-c21511b2f48685461bf2655b28eff4434c91d449.tar.gz
rneovim-c21511b2f48685461bf2655b28eff4434c91d449.tar.bz2
rneovim-c21511b2f48685461bf2655b28eff4434c91d449.zip
tree-sitter: fix prototypes (to be upstreamed)
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(),