File 0001-declare-some-void-functions-to-be-really-void.patch of Package ldapvi

From dbfe591cddf3be87088b97c937f7208f269fa7f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Jacke?= <bj@sernet.de>
Date: Thu, 15 Dec 2011 14:49:25 +0100
Subject: [PATCH] declare some void functions to be really void

---
 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 3b6896e..5c84ced 100644
--- a/ldapvi/misc.c
+++ b/ldapvi/misc.c
@@ -582,7 +582,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) {
-- 
1.7.6