patch 9.0.1471: warnings for function declarations
Problem: Warnings for function declarations.
Solution: Add argument types. (Michael Jarvis, closes #12277)
diff --git a/src/crypt.c b/src/crypt.c
index b4b48c8..a66c004 100644
--- a/src/crypt.c
+++ b/src/crypt.c
@@ -40,7 +40,7 @@
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,