summaryrefslogtreecommitdiff
path: root/src/unexcoff.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unexcoff.c')
-rw-r--r--src/unexcoff.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/unexcoff.c b/src/unexcoff.c
index 1efde1a9cbc..03b0015e6b9 100644
--- a/src/unexcoff.c
+++ b/src/unexcoff.c
@@ -524,7 +524,7 @@ adjust_lnnoptrs (int writedesc, int readdesc, const char *new_name)
*
* driving logic.
*/
-int
+void
unexec (const char *new_name, const char *a_name)
{
int new = -1, a_out = -1;
@@ -545,15 +545,12 @@ unexec (const char *new_name, const char *a_name)
)
{
close (new);
- return -1;
}
close (new);
if (a_out >= 0)
close (a_out);
mark_x (new_name);
- return 0;
}
#endif /* not CANNOT_DUMP */
-