summaryrefslogtreecommitdiffstats
path: root/gcc/ada/ctrl_c.c
diff options
context:
space:
mode:
authordannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-22 21:34:51 +0000
committerdannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-22 21:34:51 +0000
commitf0a28ccbd3dd7601546a27587720799563e5dbb5 (patch)
tree1780c9b5b3a2f29ec96b896c364f0c77eb0c06ca /gcc/ada/ctrl_c.c
parent5a6901d63a598a4992f1bbbf22a7fe1010d76dd6 (diff)
downloadppe42-gcc-f0a28ccbd3dd7601546a27587720799563e5dbb5.tar.gz
ppe42-gcc-f0a28ccbd3dd7601546a27587720799563e5dbb5.zip
* sysdep.c: Include conio.h if __MINGW32__ and !OLD_MINGW.
* ctrl_c.c (__gnat_int_handler): Remove declaration. * decl.c (creat_concat_name): Const-ify prefix. * adaint.c: Include ctype.h if __MINGW32__. (__gnat_readlink): Mark arguments as possibly unused. (__gnat_symlink): Likewise. (__gnat_is_symbolic_link): Likewise. (__gnat_portable_spawn): Likewise. Cast last arg of spawnvp to match declaration (__gnat_file_time_name): Don't declare struct stat statbuf when not needed. (__gnat_is_absolute_path): Add parenthesis around condition of 'if' statement to avoid warning. (__gnat_plist_init): Specify void as parameter. (plist_enter): Likewise. (plist_leave): Likewise. (remove_handle): Make static. Initialize prev. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72824 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/ctrl_c.c')
-rw-r--r--gcc/ada/ctrl_c.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/ada/ctrl_c.c b/gcc/ada/ctrl_c.c
index 7d7eef043e4..22d00667275 100644
--- a/gcc/ada/ctrl_c.c
+++ b/gcc/ada/ctrl_c.c
@@ -48,8 +48,6 @@ void __gnat_install_int_handler (void (*) (void));
/* __gnat_uninstall_int_handler will reinstall the original handler */
void __gnat_uninstall_int_handler (void);
-static void __gnat_int_handler (int);
-
/* POSIX implementation */
#if (defined (_AIX) || defined (unix)) && !defined (__vxworks)
@@ -104,7 +102,7 @@ __gnat_uninstall_int_handler (void)
#include "mingw32.h"
#include <windows.h>
-void (*sigint_intercepted) () = NULL;
+void (*sigint_intercepted) (void) = NULL;
static BOOL WINAPI
__gnat_int_handler (DWORD dwCtrlType)
OpenPOWER on IntegriCloud