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:
committed by
Bram Moolenaar
parent
1be4b81bfb
commit
be9624eb47
@@ -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,
|
||||
|
Reference in New Issue
Block a user