summaryrefslogtreecommitdiff
path: root/src/unexsol.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/unexsol.c
parenta3a6c54ec72118e8d22d2ecd608df5193c8926a3 (diff)
downloademacs-381259ef0debba4c0bb07bb5473467c1d4d84223.tar.gz
Change unexec implementations to match prototype.
Diffstat (limited to 'src/unexsol.c')
-rw-r--r--src/unexsol.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/unexsol.c b/src/unexsol.c
index ae91c170859..ef1e34e6f0f 100644
--- a/src/unexsol.c
+++ b/src/unexsol.c
@@ -11,14 +11,14 @@
#include "charset.h"
#include "coding.h"
-int
+void
unexec (const char *new_name, const char *old_name)
{
Lisp_Object data;
Lisp_Object errstring;
if (! dldump (0, new_name, RTLD_MEMORY))
- return 0;
+ return;
data = Fcons (build_string (new_name), Qnil);
synchronize_system_messages_locale ();
@@ -28,4 +28,3 @@ unexec (const char *new_name, const char *old_name)
xsignal (Qfile_error,
Fcons (build_string ("Cannot unexec"), Fcons (errstring, data)));
}
-