mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
tree-sitter: fix prototypes (to be upstreamed)
This commit is contained in:
parent
f486d2145a
commit
c21511b2f4
@ -224,7 +224,7 @@ static void stream_scan_identifier(Stream *stream) {
|
|||||||
* CaptureListPool
|
* CaptureListPool
|
||||||
******************/
|
******************/
|
||||||
|
|
||||||
static CaptureListPool capture_list_pool_new() {
|
static CaptureListPool capture_list_pool_new(void) {
|
||||||
return (CaptureListPool) {
|
return (CaptureListPool) {
|
||||||
.list = array_new(),
|
.list = array_new(),
|
||||||
.usage_map = UINT32_MAX,
|
.usage_map = UINT32_MAX,
|
||||||
@ -269,7 +269,7 @@ static void capture_list_pool_release(CaptureListPool *self, uint16_t id) {
|
|||||||
* SymbolTable
|
* SymbolTable
|
||||||
**************/
|
**************/
|
||||||
|
|
||||||
static SymbolTable symbol_table_new() {
|
static SymbolTable symbol_table_new(void) {
|
||||||
return (SymbolTable) {
|
return (SymbolTable) {
|
||||||
.characters = array_new(),
|
.characters = array_new(),
|
||||||
.slices = array_new(),
|
.slices = array_new(),
|
||||||
|
Loading…
Reference in New Issue
Block a user