diff options
author | bosch <bosch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-29 17:45:03 +0000 |
---|---|---|
committer | bosch <bosch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-29 17:45:03 +0000 |
commit | 2570de824e7cd6ac755be1c3722ea0ce90bcabba (patch) | |
tree | 84e043479e91b33e543375c19186765d10a6238d /gcc/ada/init.c | |
parent | 102af56b872dcef99a9c896fbff75fea4b3626fa (diff) | |
download | gcc-2570de824e7cd6ac755be1c3722ea0ce90bcabba.tar.gz |
* init.c:
(Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg
const.
(_gnat_error_handler): Make MSG const.
* sysdep.c: Fix localtime_r problem on LynxOS.
Also remove #elif to avoid warnings.
* misc.c (yyparse): Don't set up and register jmpbuf; remove decls
used by this.
* decl.c (annotate_value): Make SIZE unsigned to avoid warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46609 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/init.c')
-rw-r--r-- | gcc/ada/init.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/ada/init.c b/gcc/ada/init.c index d20c9cbad97..1c8f4c7aa17 100644 --- a/gcc/ada/init.c +++ b/gcc/ada/init.c @@ -4,7 +4,7 @@ * * * I N I T * * * - * $Revision: 1.2 $ + * $Revision$ * * * C Implementation File * * * @@ -86,12 +86,12 @@ extern int (*Check_Abort_Status) PARAMS ((void)); #define Raise_From_Signal_Handler \ ada__exceptions__raise_from_signal_handler extern void Raise_From_Signal_Handler PARAMS ((struct Exception_Data *, - char *)); + const char *)); #define Propagate_Signal_Exception \ __gnat_propagate_sig_exc extern void Propagate_Signal_Exception - PARAMS ((struct Machine_State *, struct Exception_Data *, char *)); + PARAMS ((struct Machine_State *, struct Exception_Data *, const char *)); /* Copies of global values computed by the binder */ @@ -226,7 +226,7 @@ __gnat_error_handler (sig) int sig; { struct Exception_Data *exception; - char *msg; + const char *msg; switch (sig) { @@ -557,7 +557,7 @@ __gnat_error_handler (sig) int sig; { struct Exception_Data *exception; - char *msg; + const char *msg; static int recurse = 0; struct sigcontext *info |