aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/init.c
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2003-01-27 13:16:59 +0000
committerRainer Orth <ro@gcc.gnu.org>2003-01-27 13:16:59 +0000
commit437026ef889dafb9b725fb51e5c542b6283849fe (patch)
treefa64f6cafd780002c7a3e891c0d512ba9cabb532 /gcc/ada/init.c
parent244d05fb87c29bd539630243bef9b1d0be00fcf2 (diff)
downloadgcc-437026ef889dafb9b725fb51e5c542b6283849fe.zip
gcc-437026ef889dafb9b725fb51e5c542b6283849fe.tar.gz
gcc-437026ef889dafb9b725fb51e5c542b6283849fe.tar.bz2
init.c (__gnat_error_handler): Make msg const.
* init.c (__gnat_error_handler): Make msg const. * gmem.c (convert_addresses): Move declaration ... * adaint.h: ... here. * adaint.c (convert_addresses): Adapt addrs type to match prototype. * adaint.c (__gnat_try_lock): Cast pid_t to long, adapt format. From-SVN: r61887
Diffstat (limited to 'gcc/ada/init.c')
-rw-r--r--gcc/ada/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/init.c b/gcc/ada/init.c
index 04b7aea..ce7b36e 100644
--- a/gcc/ada/init.c
+++ b/gcc/ada/init.c
@@ -1099,7 +1099,7 @@ __gnat_error_handler (sig, sip)
{
struct Exception_Data *exception;
static int recurse = 0;
- char *msg;
+ const char *msg;
/* If this was an explicit signal from a "kill", just resignal it. */
if (SI_FROMUSER (sip))