guestfish: Fix build error in 'print_shell_quote' function.
authorRichard Jones <rjones@redhat.com>
Thu, 13 May 2010 16:05:41 +0000 (17:05 +0100)
committerRichard Jones <rjones@redhat.com>
Thu, 13 May 2010 16:07:45 +0000 (17:07 +0100)
Amend commit 1c6ed48bd3cd471dc so the prototype of
'print_shell_quote' function is correct.

fish/fish.c

index b7601b9..a630cdc 100644 (file)
@@ -66,7 +66,7 @@ static void cmdline (char *argv[], int optind, int argc);
 static void initialize_readline (void);
 static void cleanup_readline (void);
 static void add_history_line (const char *);
 static void initialize_readline (void);
 static void cleanup_readline (void);
 static void add_history_line (const char *);
-static int print_shell_quote (FILE *stream, const char *str);
+static void print_shell_quote (FILE *stream, const char *str);
 
 /* Currently open libguestfs handle. */
 guestfs_h *g;
 
 /* Currently open libguestfs handle. */
 guestfs_h *g;