diff options
Diffstat (limited to 'gcc/libgcov.c')
-rw-r--r-- | gcc/libgcov.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/libgcov.c b/gcc/libgcov.c index 5abceae6d62..df24d7ef2e7 100644 --- a/gcc/libgcov.c +++ b/gcc/libgcov.c @@ -828,7 +828,7 @@ __gcov_fork (void) that they are not lost. */ int -__gcov_execl (const char *path, const char *arg, ...) +__gcov_execl (const char *path, char *arg, ...) { va_list ap, aq; unsigned i, length; @@ -845,7 +845,7 @@ __gcov_execl (const char *path, const char *arg, ...) va_end (ap); args = (char **) alloca (length * sizeof (void *)); - args[0] = (char *) arg; + args[0] = arg; for (i = 1; i < length; i++) args[i] = va_arg (aq, char *); va_end (aq); @@ -859,7 +859,7 @@ __gcov_execl (const char *path, const char *arg, ...) that they are not lost. */ int -__gcov_execlp (const char *path, const char *arg, ...) +__gcov_execlp (const char *path, char *arg, ...) { va_list ap, aq; unsigned i, length; @@ -876,7 +876,7 @@ __gcov_execlp (const char *path, const char *arg, ...) va_end (ap); args = (char **) alloca (length * sizeof (void *)); - args[0] = (char *) arg; + args[0] = arg; for (i = 1; i < length; i++) args[i] = va_arg (aq, char *); va_end (aq); @@ -890,7 +890,7 @@ __gcov_execlp (const char *path, const char *arg, ...) that they are not lost. */ int -__gcov_execle (const char *path, const char *arg, ...) +__gcov_execle (const char *path, char *arg, ...) { va_list ap, aq; unsigned i, length; @@ -908,7 +908,7 @@ __gcov_execle (const char *path, const char *arg, ...) va_end (ap); args = (char **) alloca (length * sizeof (void *)); - args[0] = (char *) arg; + args[0] = arg; for (i = 1; i < length; i++) args[i] = va_arg (aq, char *); envp = va_arg (aq, char **); |