summaryrefslogtreecommitdiff
path: root/src/unexcoff.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-03-17 11:41:30 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-03-17 11:41:30 -0700
commit381259ef0debba4c0bb07bb5473467c1d4d84223 (patch)
treea6bc6304596874e7cb6cb3074b0b922c4cadba85 /src/unexcoff.c
parenta3a6c54ec72118e8d22d2ecd608df5193c8926a3 (diff)
downloademacs-381259ef0debba4c0bb07bb5473467c1d4d84223.tar.gz
Change unexec implementations to match prototype.
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 */
-