summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/strip.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 238c4160..49aa3f7e 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2015-09-22 Mark Wielaard <[email protected]>
+
+ * strip.c (cleanup_debug): Remove old-style function definitions.
+
2015-09-09 Chih-Hung Hsieh <[email protected]>
* readelf.c (print_debug_exception_table): Initialize variable before
diff --git a/src/strip.c b/src/strip.c
index 5e69334b..8b08d72d 100644
--- a/src/strip.c
+++ b/src/strip.c
@@ -119,7 +119,7 @@ static int debug_fd = -1;
static char *tmp_debug_fname = NULL;
/* Close debug file descriptor, if opened. And remove temporary debug file. */
-static void cleanup_debug ();
+static void cleanup_debug (void);
#define INTERNAL_ERROR(fname) \
do { \
@@ -2208,7 +2208,7 @@ cannot set access and modification date of '%s'"),
}
static void
-cleanup_debug ()
+cleanup_debug (void)
{
if (debug_fd >= 0)
{