aboutsummaryrefslogtreecommitdiff
path: root/sim/common/run.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-02-08 20:54:27 +0000
committerNick Clifton <nickc@redhat.com>2000-02-08 20:54:27 +0000
commit6d358e869b1efe22fa6697a8aa4191ddacbacef0 (patch)
tree8e46af77cc6bd1e1f07b560c31b7cdf0fbbffab9 /sim/common/run.c
parentab266a97fb888efa38e7cdc1d53b6c97337b589f (diff)
downloadgdb-6d358e869b1efe22fa6697a8aa4191ddacbacef0.zip
gdb-6d358e869b1efe22fa6697a8aa4191ddacbacef0.tar.gz
gdb-6d358e869b1efe22fa6697a8aa4191ddacbacef0.tar.bz2
Fix compile time warning messages.
Diffstat (limited to 'sim/common/run.c')
-rw-r--r--sim/common/run.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sim/common/run.c b/sim/common/run.c
index 72d7509..a3e38a8 100644
--- a/sim/common/run.c
+++ b/sim/common/run.c
@@ -45,6 +45,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "bfd.h"
#include "callback.h"
#include "remote-sim.h"
+#include "ansidecl.h"
#include "../libiberty/alloca-conf.h"
@@ -69,7 +70,7 @@ int (*ui_loop_hook) PARAMS ((int signo));
static SIM_DESC sd;
static RETSIGTYPE
-cntrl_c (int sig)
+cntrl_c (int sig ATTRIBUTE_UNUSED)
{
if (! sim_stop (sd))
{