X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Funexec.c;h=ae2f945d917e7da9bd525397ffd6d927f4ebdc0e;hb=2cbece6401b2279497293e6dc54cda607f49db2f;hp=7c885d537011186ac857799cb74d09304ed5abca;hpb=81572e9b4653c5545c2eb43e87dec439f356c19c;p=chise%2Fxemacs-chise.git- diff --git a/src/unexec.c b/src/unexec.c index 7c885d5..ae2f945 100644 --- a/src/unexec.c +++ b/src/unexec.c @@ -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);