summaryrefslogtreecommitdiffstats
path: root/daemon/daemon.h
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 /daemon/daemon.h
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 'daemon/daemon.h')
-rw-r--r--daemon/daemon.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/daemon/daemon.h b/daemon/daemon.h
index cbcab639..2a2b840a 100644
--- a/daemon/daemon.h
+++ b/daemon/daemon.h
@@ -40,7 +40,7 @@ extern int xwrite (int sock, const void *buf, size_t len);
extern int xread (int sock, void *buf, size_t len);
extern int add_string (char ***argv, int *size, int *alloc, const char *str);
-extern int count_strings (char * const* const argv);
+extern int count_strings (char *const *argv);
extern void sort_strings (char **argv, int len);
extern void free_strings (char **argv);
extern void free_stringslen (char **argv, int len);
@@ -48,9 +48,9 @@ extern void free_stringslen (char **argv, int len);
extern int command (char **stdoutput, char **stderror, const char *name, ...);
extern int commandr (char **stdoutput, char **stderror, const char *name, ...);
extern int commandv (char **stdoutput, char **stderror,
- char * const* const argv);
+ char *const *argv);
extern int commandrv (char **stdoutput, char **stderror,
- char * const* const argv);
+ char const* const *argv);
extern char **split_lines (char *str);