/* Shell quoting.
- Copyright (C) 2001-2004, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2001-2004, 2006, 2009-2014 Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software: you can redistribute it and/or modify
/* 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;