diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-08-02 20:21:27 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-08-02 20:21:27 +0000 |
commit | 826f65051b372f39bc2b91ff71c387550d1a9cba (patch) | |
tree | fd152d55cc2977cce93eb949677f8ea99866bf67 /gcc/gcc.h | |
parent | 65d0fdfa264aefe3cd73493b55afca39b87811be (diff) | |
download | gcc-826f65051b372f39bc2b91ff71c387550d1a9cba.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35433 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcc.h')
-rw-r--r-- | gcc/gcc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcc.h b/gcc/gcc.h index 64b954647d3..9a9beb0e25a 100644 --- a/gcc/gcc.h +++ b/gcc/gcc.h @@ -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)); |