summaryrefslogtreecommitdiffstats
path: root/fish
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-08-07 09:38:37 +0200
committerJim Meyering <meyering@redhat.com>2009-08-17 11:40:24 +0200
commitadf20c0c4d9f488d55254f54a79079b9cacbde8d (patch)
treeccaaabb111532bf270df87a8a960dd8271481103 /fish
parent2ad9dbbe595b5311019376a55b13db0d7c5d8988 (diff)
downloadlibguestfs-adf20c0c4d9f488d55254f54a79079b9cacbde8d.tar.gz
libguestfs-adf20c0c4d9f488d55254f54a79079b9cacbde8d.tar.xz
libguestfs-adf20c0c4d9f488d55254f54a79079b9cacbde8d.zip
adjust const "**" pointers to avoid warnings
Also, ... * src/generator.ml: Add DeviceList type, and propagate that change out to all calling/interface code.
Diffstat (limited to 'fish')
-rw-r--r--fish/fish.c6
-rw-r--r--fish/fish.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/fish/fish.c b/fish/fish.c
index f31f4ad3..830617b1 100644
--- a/fish/fish.c
+++ b/fish/fish.c
@@ -974,7 +974,7 @@ free_strings (char **argv)
}
int
-count_strings (char * const * const argv)
+count_strings (char *const *argv)
{
int c;
@@ -984,7 +984,7 @@ count_strings (char * const * const argv)
}
void
-print_strings (char * const * const argv)
+print_strings (char *const *argv)
{
int argc;
@@ -993,7 +993,7 @@ print_strings (char * const * const argv)
}
void
-print_table (char * const * const argv)
+print_table (char *const *argv)
{
int i;
diff --git a/fish/fish.h b/fish/fish.h
index 772d2001..a6cc8c99 100644
--- a/fish/fish.h
+++ b/fish/fish.h
@@ -39,9 +39,9 @@ extern void pod2text (const char *name, const char *shortdesc, const char *body)
extern void list_builtin_commands (void);
extern void display_builtin_command (const char *cmd);
extern void free_strings (char **argv);
-extern int count_strings (char * const * const argv);
-extern void print_strings (char * const * const argv);
-extern void print_table (char * const * const argv);
+extern int count_strings (char *const *argv);
+extern void print_strings (char *const *argv);
+extern void print_table (char *const *argv);
extern int launch (guestfs_h *);
extern int is_true (const char *str);
extern char **parse_string_list (const char *str);