X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fsh-quote.c;h=d62c2b7b7ed875150bb0dacefb8398c98a69057b;hb=9e801adc214e131c6ea4c667407f54aa62888913;hp=f59e55fbff2bd2813101050d58a2f3f21a6a1a13;hpb=2d4d7d9d00fe33b6f5291e00a30b6c1016775b74;p=gnulib.git diff --git a/lib/sh-quote.c b/lib/sh-quote.c index f59e55fbf..d62c2b7b7 100644 --- a/lib/sh-quote.c +++ b/lib/sh-quote.c @@ -1,5 +1,5 @@ /* Shell quoting. - Copyright (C) 2001-2004, 2006 Free Software Foundation, Inc. + Copyright (C) 2001-2004, 2006, 2009-2013 Free Software Foundation, Inc. Written by Bruno Haible , 2001. This program is free software: you can redistribute it and/or modify @@ -69,11 +69,11 @@ shell_quote (const char *string) /* Returns a freshly allocated string containing all argument strings, quoted, separated through spaces. */ char * -shell_quote_argv (char **argv) +shell_quote_argv (char * const *argv) { if (*argv != NULL) { - char **argp; + char * const *argp; size_t length; char *command; char *p;