From be9624eb47ff4db4f068c65ad9cd37b14d1818a8 Mon Sep 17 00:00:00 2001 From: Michael Jarvis Date: Wed, 19 Apr 2023 20:28:48 +0100 Subject: patch 9.0.1471: warnings for function declarations Problem: Warnings for function declarations. Solution: Add argument types. (Michael Jarvis, closes #12277) --- src/crypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/crypt.c') 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, -- cgit v1.2.3