[ldapvi] [PATCH 2/5] declare some void functions to be really void

Matěj Cepl mcepl at cepl.eu
Fri Sep 8 18:01:33 CEST 2023


From: Björn Jacke <bj at sernet.de>

---
 ldapvi/misc.c | 2 +-
 ldapvi/sasl.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ldapvi/misc.c b/ldapvi/misc.c
index 307e1ed..975305b 100644
--- a/ldapvi/misc.c
+++ b/ldapvi/misc.c
@@ -585,7 +585,7 @@ dialog_rebuild(char *up, char *clreos,
 		putp(up);
 }
 
-static Keymap
+static void
 set_meta_keymap(Keymap keymap, Keymap meta_keymap)
 {
 	if (!meta_keymap)
diff --git a/ldapvi/sasl.c b/ldapvi/sasl.c
index ad338c2..b44c79d 100644
--- a/ldapvi/sasl.c
+++ b/ldapvi/sasl.c
@@ -120,7 +120,7 @@ process_default(sasl_interact_t *interact, tsasl_defaults *defaults)
 	}
 }
 
-static int
+static void
 process_result(int id, char *result, tsasl_defaults *defaults)
 {
 	switch (id) {
-- 
2.42.0




More information about the ldapvi mailing list