about summary refs log tree commit diff
path: root/string
diff options
context:
space:
mode:
Diffstat (limited to 'string')
-rw-r--r--string/argz-extract.c2
-rw-r--r--string/argz.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/string/argz-extract.c b/string/argz-extract.c
index 5eb0e84b01..49a1426d73 100644
--- a/string/argz-extract.c
+++ b/string/argz-extract.c
@@ -23,7 +23,7 @@
 /* Puts pointers to each string in ARGZ into ARGV, which must be large enough
    to hold them all.  */
 void
-__argz_extract (const char *argz, size_t len, char **argv)
+__argz_extract (char *argz, size_t len, char **argv)
 {
   while (len > 0)
     {
diff --git a/string/argz.h b/string/argz.h
index c2a3139dbb..248a4da1f3 100644
--- a/string/argz.h
+++ b/string/argz.h
@@ -50,8 +50,8 @@ size_t argz_count __P ((__const char *argz, size_t len));
 
 /* Puts pointers to each string in ARGZ into ARGV, which must be large enough
    to hold them all.  */
-void __argz_extract __P ((__const char *argz, size_t len, char **argv));
-void argz_extract __P ((__const char *argz, size_t len, char **argv));
+void __argz_extract __P ((char *argz, size_t len, char **argv));
+void argz_extract __P ((char *argz, size_t len, char **argv));
 
 /* Make '\0' separated arg vector ARGZ printable by converting all the '\0's
    except the last into the character SEP.  */