aboutsummaryrefslogtreecommitdiff
path: root/gcc/gccspec.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@wolery.cumb.org>2000-08-02 20:21:27 +0000
committerZack Weinberg <zack@gcc.gnu.org>2000-08-02 20:21:27 +0000
commit37620334d9357703c406caff5f6255fa59f83421 (patch)
treefd152d55cc2977cce93eb949677f8ea99866bf67 /gcc/gccspec.c
parentf9427d170488c89fc8f2f4eed47b7feca4b32296 (diff)
downloadgcc-37620334d9357703c406caff5f6255fa59f83421.zip
gcc-37620334d9357703c406caff5f6255fa59f83421.tar.gz
gcc-37620334d9357703c406caff5f6255fa59f83421.tar.bz2
gcc.h (lang_specific_driver): Constify second argument.
* gcc.h (lang_specific_driver): Constify second argument. * gcc.c (translate_options, process_command, main): Likewise. Constify variables to match. Cast second argument to pexecute. * cppspec.c, gccspec.c, g++spec.c, g77spec.c, jvspec.c: Adjust type of second argument to lang_specific_driver, and update code as necessary. From-SVN: r35433
Diffstat (limited to 'gcc/gccspec.c')
-rw-r--r--gcc/gccspec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gccspec.c b/gcc/gccspec.c
index 5df63ab..fcad38d 100644
--- a/gcc/gccspec.c
+++ b/gcc/gccspec.c
@@ -26,7 +26,7 @@ Boston, MA 02111-1307, USA. */
void
lang_specific_driver (in_argc, in_argv, in_added_libraries)
int *in_argc ATTRIBUTE_UNUSED;
- char ***in_argv ATTRIBUTE_UNUSED;
+ const char *const **in_argv ATTRIBUTE_UNUSED;
int *in_added_libraries ATTRIBUTE_UNUSED;
{
return; /* Not used for C. */