summaryrefslogtreecommitdiff
path: root/gcc/ada
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-03 05:37:36 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-03 05:37:36 +0000
commit8fba22d5d7cdc6900d42b83ef15e2ce47ec64da7 (patch)
tree87fb95f8fcdf1fc3b4a48bd19345a7878705a92c /gcc/ada
parentdc92a99400a99b2e478b3371f48abbafb2f2e4d5 (diff)
downloadgcc-8fba22d5d7cdc6900d42b83ef15e2ce47ec64da7.tar.gz
* misc.c (save_argv): Make const.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68866 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada')
-rw-r--r--gcc/ada/ChangeLog4
-rw-r--r--gcc/ada/misc.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index b2235a17fe0..488ba9899c7 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 22d29c96fe0..54c34549472 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));