HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change unexec implementations to match prototype.
[bpt/emacs.git]
/
src
/
unexcoff.c
diff --git
a/src/unexcoff.c
b/src/unexcoff.c
index
1efde1a
..
03b0015
100644
(file)
--- a/
src/unexcoff.c
+++ b/
src/unexcoff.c
@@
-524,7
+524,7
@@
adjust_lnnoptrs (int writedesc, int readdesc, const char *new_name)
*
* driving logic.
*/
*
* driving logic.
*/
-int
+void
unexec (const char *new_name, const char *a_name)
{
int new = -1, a_out = -1;
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);
)
{
close (new);
- return -1;
}
close (new);
if (a_out >= 0)
close (a_out);
mark_x (new_name);
}
close (new);
if (a_out >= 0)
close (a_out);
mark_x (new_name);
- return 0;
}
#endif /* not CANNOT_DUMP */
}
#endif /* not CANNOT_DUMP */
-