XEmacs 21.2.29 "Hestia".
[chise/xemacs-chise.git.1] / src / unexec.c
index 7c885d5..ae2f945 100644 (file)
@@ -366,14 +366,12 @@ static int pagemask;
 #include "lisp.h"
 
 static void
-report_error (file, fd)
-     CONST char *file;
-     int fd;
+report_error (const char *file, int fd)
 {
   if (fd)
     close (fd);
   report_file_error ("Cannot unexec",
-                    Fcons (build_ext_string (file, FORMAT_FILENAME), Qnil));
+                    Fcons (build_ext_string (file, Qfile_name), Qnil));
 }
 #endif /* emacs */
 
@@ -384,7 +382,7 @@ report_error (file, fd)
 static void
 report_error_1 (fd, msg, a1, a2)
      int fd;
-     CONST char *msg;
+     const char *msg;
      int a1, a2;
 {
   close (fd);