diff options
author | Zack Weinberg <zack@wolery.cumb.org> | 2000-08-02 20:21:27 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2000-08-02 20:21:27 +0000 |
commit | 37620334d9357703c406caff5f6255fa59f83421 (patch) | |
tree | fd152d55cc2977cce93eb949677f8ea99866bf67 /gcc/gcc.h | |
parent | f9427d170488c89fc8f2f4eed47b7feca4b32296 (diff) | |
download | gcc-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/gcc.h')
-rw-r--r-- | gcc/gcc.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ extern void fatal PARAMS ((const char *, ...)) /* Spec files linked with gcc.c must provide definitions for these. */ /* Called before processing to change/add/remove arguments. */ -extern void lang_specific_driver PARAMS ((int *, char ***, int *)); +extern void lang_specific_driver PARAMS ((int *, const char *const **, int *)); /* Called before linking. Returns 0 on success and -1 on failure. */ extern int lang_specific_pre_link PARAMS ((void)); |