aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1999-01-18 00:46:13 +0000
committerAndrew Cagney <cagney@redhat.com>1999-01-18 00:46:13 +0000
commit8bdec905f1b143803103ce60255f04fdb916233c (patch)
treeda2a34d5f0b2451e21f90ba9c9ac4840a7042c24 /gdb/top.c
parent6e45c399c15ff44f8d07570f9874f52e45620afd (diff)
downloadgdb-8bdec905f1b143803103ce60255f04fdb916233c.zip
gdb-8bdec905f1b143803103ce60255f04fdb916233c.tar.gz
gdb-8bdec905f1b143803103ce60255f04fdb916233c.tar.bz2
Fix warnings from calls to catch_errors() and make_cleanup().
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/top.c b/gdb/top.c
index 81fe1e3..2aff8d4 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -140,7 +140,7 @@ static void complete_command PARAMS ((char *, int));
static void do_nothing PARAMS ((int));
#ifdef SIGHUP
-static int quit_cover PARAMS ((char *));
+static int quit_cover PARAMS ((PTR));
static void disconnect PARAMS ((int));
#endif
@@ -587,7 +587,7 @@ int signo;
static int
quit_cover (s)
-char *s;
+ PTR s;
{
caution = 0; /* Throw caution to the wind -- we're exiting.
This prevents asking the user dumb questions. */