diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2003-07-03 05:37:36 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2003-07-03 05:37:36 +0000 |
commit | b9add4494a906f9c57c4b9ea1dd17f520eca7178 (patch) | |
tree | 87fb95f8fcdf1fc3b4a48bd19345a7878705a92c /gcc | |
parent | 0e8a66de6dc349715957d33e75285f75340a67df (diff) | |
download | gcc-b9add4494a906f9c57c4b9ea1dd17f520eca7178.zip gcc-b9add4494a906f9c57c4b9ea1dd17f520eca7178.tar.gz gcc-b9add4494a906f9c57c4b9ea1dd17f520eca7178.tar.bz2 |
* misc.c (save_argv): Make const.
From-SVN: r68866
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/ada/misc.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index b2235a1..488ba98 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2003-07-03 Neil Booth <neil@daikokuya.co.uk> + + * misc.c (save_argv): Make const. + 2003-07-02 Neil Booth <neil@daikokuya.co.uk> * misc.c (save_argc, save_argv): Keep non-static! diff --git a/gcc/ada/misc.c b/gcc/ada/misc.c index 22d29c9..54c3454 100644 --- a/gcc/ada/misc.c +++ b/gcc/ada/misc.c @@ -186,7 +186,7 @@ const char **save_argv; /* gnat standard argc argv */ extern int gnat_argc; -extern char **gnat_argv; +extern const char **gnat_argv; static void internal_error_function PARAMS ((const char *, va_list *)); static void gnat_adjust_rli PARAMS ((record_layout_info)); |