summaryrefslogtreecommitdiff
blob: 9de53bd41203a8e7593fdf9a6518d53b10741a29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
https://bugs.gentoo.org/504472

fix building w/readline-6.3 -- the old CPPFunction define has been deleted

--- a/libmisc/ui.c
+++ b/libmisc/ui.c
@@ -256,8 +256,7 @@ static void _init(void) {
 	
 #if defined(HAVE_LIBREADLINE) && defined(HAVE_READLINE_READLINE_H)
 	rl_initialize();
-	rl_attempted_completion_function = 
-		(CPPFunction *)misc_complete;
+	rl_attempted_completion_function = misc_complete;
 #endif
     
 	aal_exception_set_handler(misc_exception_handler);