summaryrefslogtreecommitdiffstats
path: root/autocrypt/autocrypt_acct_menu.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2022-11-04 13:18:51 -0700
committerKevin McCarthy <kevin@8t8.us>2022-11-04 13:29:33 -0700
commitdb16ce472e522268bcd38d06f1ef9f1d6efc0e92 (patch)
tree475e49a2b1de0a3f25a2341c44587a4a9e36ae17 /autocrypt/autocrypt_acct_menu.c
parent0838a8f458b45ccf568c83343fec57e5d064eb21 (diff)
Add explicit void to 0-parameter function definitions.
These are the errors output with: -Werror=implicit-int -Werror=implicit-function-declaration -Werror=int-conversion -Werror=strict-prototypes -Werror=old-style-definition
Diffstat (limited to 'autocrypt/autocrypt_acct_menu.c')
-rw-r--r--autocrypt/autocrypt_acct_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/autocrypt/autocrypt_acct_menu.c b/autocrypt/autocrypt_acct_menu.c
index 80a82362..76bab1d2 100644
--- a/autocrypt/autocrypt_acct_menu.c
+++ b/autocrypt/autocrypt_acct_menu.c
@@ -127,7 +127,7 @@ static void account_entry (char *s, size_t slen, MUTTMENU *m, int num)
entry, MUTT_FORMAT_ARROWCURSOR);
}
-static MUTTMENU *create_menu ()
+static MUTTMENU *create_menu (void)
{
MUTTMENU *menu = NULL;
AUTOCRYPT_ACCOUNT **accounts = NULL;