$OpenBSD: patch-gphoto2_shell_c,v 1.2 2005/05/16 17:45:58 robert Exp $
--- gphoto2/shell.c.orig	Thu Jul  1 12:27:58 2004
+++ gphoto2/shell.c	Mon May 16 18:14:52 2005
@@ -366,7 +366,7 @@ shell_completion_function (const char *t
 
 	if (!start) {
 		/* Complete command */
-		matches = rl_completion_matches (text, shell_command_generator);
+		matches = completion_matches (text, shell_command_generator);
 	} else {
 		current = strdup (rl_copy_text (0, end));
 
@@ -378,7 +378,7 @@ shell_completion_function (const char *t
 		free (current);
 
 		/* Complete remote path */
-		matches = rl_completion_matches (text, shell_path_generator);
+		matches = completion_matches (text, shell_path_generator);
 	}
 
 	return (matches);
