summaryrefslogtreecommitdiff
path: root/gdb/corelow.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/corelow.c')
-rw-r--r--gdb/corelow.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/corelow.c b/gdb/corelow.c
index a98ae548fe1..77bab82fa8a 100644
--- a/gdb/corelow.c
+++ b/gdb/corelow.c
@@ -85,7 +85,7 @@ static void core_open (char *, int);
static void core_detach (struct target_ops *ops, char *, int);
-static void core_close (int);
+static void core_close (void);
static void core_close_cleanup (void *ignore);
@@ -192,7 +192,7 @@ gdb_check_format (bfd *abfd)
stack spaces as empty. */
static void
-core_close (int quitting)
+core_close (void)
{
if (core_bfd)
{
@@ -223,7 +223,7 @@ core_close (int quitting)
static void
core_close_cleanup (void *ignore)
{
- core_close (0/*ignored*/);
+ core_close ();
}
/* Look for sections whose names start with `.reg/' so that we can