fish.c:1447: error: 'add_history_line' defined but not used [-Wunused-function]
(Reported by Matt Booth)
static void cmdline (char *argv[], int optind, int argc);
static void initialize_readline (void);
static void cleanup_readline (void);
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 add_history_line (const char *);
static void print_shell_quote (FILE *stream, const char *str);
/* Currently open libguestfs handle. */
static void print_shell_quote (FILE *stream, const char *str);
/* Currently open libguestfs handle. */
static void
add_history_line (const char *line)
{
static void
add_history_line (const char *line)
{
add_history (line);
nr_history_lines++;
add_history (line);
nr_history_lines++;
int
xwrite (int fd, const void *v_buf, size_t len)
int
xwrite (int fd, const void *v_buf, size_t len)