aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/liboop/liboop/new-readline-typedef.patch
blob: 0a0242032ffcf9c12236467a22783748e58dc109 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/test-oop.c
+++ b/test-oop.c
@@ -180,7 +180,7 @@ static void *stop_readline(oop_source *s
 static void add_readline(oop_source *src) {
 	rl_callback_handler_install(
 		(char *) "> ", /* readline isn't const-correct */
-		(VFunction *) on_readline);
+		(rl_vcpfunc_t *) on_readline);
 	oop_readline_register(src);
 	src->on_signal(src,SIGQUIT,stop_readline,NULL);
 }