aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2001-07-17 17:25:14 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2001-07-17 17:25:14 +0000
commitd0c8cdfbfd50818b2958a12932fc64c1fdd8f163 (patch)
tree50aa3744686f8a2b3e5802383587c2295501bc04 /gdb/top.c
parenta48012103163973812bd1c77f6f357644d029376 (diff)
downloadfsf-binutils-gdb-d0c8cdfbfd50818b2958a12932fc64c1fdd8f163.zip
fsf-binutils-gdb-d0c8cdfbfd50818b2958a12932fc64c1fdd8f163.tar.gz
fsf-binutils-gdb-d0c8cdfbfd50818b2958a12932fc64c1fdd8f163.tar.bz2
2001-07-17 Elena Zannoni <ezannoni@redhat.com>
* top.c (catch_errors): Convert PTR to void * in parameters list. (quit_cover): Ditto.
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 a749afe..4149719 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -378,7 +378,7 @@ return_to_top_level (enum return_reason reason)
between utils.c and top.c? */
int
-catch_errors (catch_errors_ftype *func, PTR args, char *errstring,
+catch_errors (catch_errors_ftype *func, void * args, char *errstring,
return_mask mask)
{
SIGJMP_BUF *saved_catch;
@@ -512,7 +512,7 @@ catch_command_errors (catch_command_errors_ftype * command,
gdb to use the event loop as the default command loop and we merge
event-top.c into this file, top.c */
/* static */ int
-quit_cover (PTR s)
+quit_cover (void *s)
{
caution = 0; /* Throw caution to the wind -- we're exiting.
This prevents asking the user dumb questions. */