summaryrefslogtreecommitdiffstats
path: root/src/crypt.c
diff options
context:
space:
mode:
authorMichael Jarvis <michael@jarvis.com>2023-04-19 20:28:48 +0100
committerBram Moolenaar <Bram@vim.org>2023-04-19 20:28:48 +0100
commitbe9624eb47ff4db4f068c65ad9cd37b14d1818a8 (patch)
treec1784266bc044515099d43f870cbaf50ac896d97 /src/crypt.c
parent1be4b81bfb3d7edf0e2ae41711d429e8fa5e0555 (diff)
patch 9.0.1471: warnings for function declarationsv9.0.1471
Problem: Warnings for function declarations. Solution: Add argument types. (Michael Jarvis, closes #12277)
Diffstat (limited to 'src/crypt.c')
-rw-r--r--src/crypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypt.c b/src/crypt.c
index b4b48c8cc8..a66c0043a7 100644
--- a/src/crypt.c
+++ b/src/crypt.c
@@ -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,