0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 9.0.1471: warnings for function declarations

Problem:    Warnings for function declarations.
Solution:   Add argument types. (Michael Jarvis, closes #12277)
This commit is contained in:
Michael Jarvis
2023-04-19 20:28:48 +01:00
committed by Bram Moolenaar
parent 1be4b81bfb
commit be9624eb47
5 changed files with 24 additions and 22 deletions

View File

@@ -40,7 +40,7 @@ typedef struct {
int whole_undofile; // whole undo file is encrypted
// Optional function pointer for a self-test.
int (* self_test_fn)();
int (* self_test_fn)(void);
// Function pointer for initializing encryption/decryption.
int (* init_fn)(cryptstate_T *state, char_u *key,