Fix some compiler warnings regarding function prototypes

This commit is contained in:
Björn Linse 2019-09-22 11:49:44 +02:00
parent 598e4e4cf4
commit 15e3bc7fd2
2 changed files with 2 additions and 1 deletions

View file

@ -738,7 +738,7 @@ const char *ts_query_string_value_for_id(
* You can then start executing another query on another node by calling
* `ts_query_cursor_exec` again.
*/
TSQueryCursor *ts_query_cursor_new();
TSQueryCursor *ts_query_cursor_new(void);
/**
* Delete a query cursor, freeing all of the memory that it used.

View file

@ -3,6 +3,7 @@
#include "./array.h"
#include "./bits.h"
#include "./point.h"
#include "./tree_cursor.h"
#include "utf8proc.h"
#include <wctype.h>