aboutsummaryrefslogtreecommitdiff
path: root/sim/common/nrun.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/nrun.c')
-rw-r--r--sim/common/nrun.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/common/nrun.c b/sim/common/nrun.c
index fc63bae..d52e53d 100644
--- a/sim/common/nrun.c
+++ b/sim/common/nrun.c
@@ -1,5 +1,5 @@
/* New version of run front end support for simulators.
- Copyright (C) 1997-2024 Free Software Foundation, Inc.
+ Copyright (C) 1997-2025 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -44,7 +44,7 @@ static const char *myname;
static SIM_DESC sd;
-static RETSIGTYPE
+static void
cntrl_c (int sig)
{
if (! sim_stop (sd))
@@ -64,7 +64,7 @@ main (int argc, char **argv)
enum sim_stop reason;
int sigrc = 0;
int single_step = 0;
- RETSIGTYPE (*prev_sigint) (int);
+ void (*prev_sigint) (int);
myname = lbasename (argv[0]);