aboutsummaryrefslogtreecommitdiffstats
path: root/src/unexcoff.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unexcoff.c')
-rw-r--r--src/unexcoff.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/unexcoff.c b/src/unexcoff.c
index 4dafabab689..ef86a400239 100644
--- a/src/unexcoff.c
+++ b/src/unexcoff.c
@@ -50,6 +50,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
50 */ 50 */
51 51
52#include <config.h> 52#include <config.h>
53#include "unexec.h"
54
53#define PERROR(file) report_error (file, new) 55#define PERROR(file) report_error (file, new)
54 56
55#ifndef CANNOT_DUMP /* all rest of file! */ 57#ifndef CANNOT_DUMP /* all rest of file! */
@@ -522,7 +524,7 @@ adjust_lnnoptrs (int writedesc, int readdesc, const char *new_name)
522 * 524 *
523 * driving logic. 525 * driving logic.
524 */ 526 */
525int 527void
526unexec (const char *new_name, const char *a_name) 528unexec (const char *new_name, const char *a_name)
527{ 529{
528 int new = -1, a_out = -1; 530 int new = -1, a_out = -1;
@@ -543,15 +545,13 @@ unexec (const char *new_name, const char *a_name)
543 ) 545 )
544 { 546 {
545 close (new); 547 close (new);
546 return -1; 548 return;
547 } 549 }
548 550
549 close (new); 551 close (new);
550 if (a_out >= 0) 552 if (a_out >= 0)
551 close (a_out); 553 close (a_out);
552 mark_x (new_name); 554 mark_x (new_name);
553 return 0;
554} 555}
555 556
556#endif /* not CANNOT_DUMP */ 557#endif /* not CANNOT_DUMP */
557