aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov-io.h
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2009-01-20 09:49:58 +0000
committerBen Elliston <bje@gcc.gnu.org>2009-01-20 20:49:58 +1100
commitcbb8dee3261887f74375baf1554e4c9a7ce71dbd (patch)
treeaa3e5e221f3a9c23d3c3822e897889162a481c0b /gcc/gcov-io.h
parent3e98d281f6dc732d92eba9c5cc3b62ad93137f9f (diff)
downloadgcc-cbb8dee3261887f74375baf1554e4c9a7ce71dbd.zip
gcc-cbb8dee3261887f74375baf1554e4c9a7ce71dbd.tar.gz
gcc-cbb8dee3261887f74375baf1554e4c9a7ce71dbd.tar.bz2
libgcov.c (__gcov_execl, [...]): Remove const qualifier from arg parameter.
* libgcov.c (__gcov_execl, __gcov_execlp, __gcov_execle): Remove const qualifier from arg parameter. Remove unnecessary cast to char *. * gcov-io.h (__gcov_execl, __gcov_execlp, __gcov_execle): Remove const qualifier from arg 2. From-SVN: r143511
Diffstat (limited to 'gcc/gcov-io.h')
-rw-r--r--gcc/gcov-io.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/gcov-io.h b/gcc/gcov-io.h
index 6e9234e..b00e56a 100644
--- a/gcc/gcov-io.h
+++ b/gcc/gcov-io.h
@@ -481,9 +481,9 @@ extern void __gcov_ior_profiler (gcov_type *, gcov_type);
#ifndef inhibit_libc
/* The wrappers around some library functions.. */
extern pid_t __gcov_fork (void) ATTRIBUTE_HIDDEN;
-extern int __gcov_execl (const char *, const char *, ...) ATTRIBUTE_HIDDEN;
-extern int __gcov_execlp (const char *, const char *, ...) ATTRIBUTE_HIDDEN;
-extern int __gcov_execle (const char *, const char *, ...) ATTRIBUTE_HIDDEN;
+extern int __gcov_execl (const char *, char *, ...) ATTRIBUTE_HIDDEN;
+extern int __gcov_execlp (const char *, char *, ...) ATTRIBUTE_HIDDEN;
+extern int __gcov_execle (const char *, char *, ...) ATTRIBUTE_HIDDEN;
extern int __gcov_execv (const char *, char *const []) ATTRIBUTE_HIDDEN;
extern int __gcov_execvp (const char *, char *const []) ATTRIBUTE_HIDDEN;
extern int __gcov_execve (const char *, char *const [], char *const [])