Commit 793cc9c0 793cc9c08087b69bdff8b8adc5c366fca4d61c4a by Sergey Poznyakoff

(mu_spawnvp): Change type of the 2nd argument.

1 parent b1fb6b25
......@@ -104,7 +104,7 @@ extern char *mu_tempname (const char *tmpdir);
extern char * mu_get_full_path (const char *file);
extern char * mu_getcwd (void);
extern int mu_spawnvp(const char* prog, const char* const av[], int* stat);
extern int mu_spawnvp(const char* prog, char * const av[], int* stat);
typedef void *(*mu_retrieve_fp) (void *);
extern void mu_register_retriever (mu_list_t *pflist, mu_retrieve_fp fun);
......
......@@ -655,7 +655,7 @@ mu_tempname (const char *tmpdir)
* to find it.
*/
int
mu_spawnvp (const char *prog, const char *const av_[], int *stat)
mu_spawnvp (const char *prog, char * const av[], int *stat)
{
pid_t pid;
int err = 0;
......@@ -665,7 +665,6 @@ mu_spawnvp (const char *prog, const char *const av_[], int *stat)
struct sigaction savequit;
sigset_t chldmask;
sigset_t savemask;
char **av = (char **) av_;
if (!prog || !av)
return EINVAL;
......