(close_file_unwind): Fix return type and return nil.
authorAndreas Schwab <schwab@suse.de>
Fri, 21 Nov 1997 14:56:30 +0000 (14:56 +0000)
committerAndreas Schwab <schwab@suse.de>
Fri, 21 Nov 1997 14:56:30 +0000 (14:56 +0000)
(restore_point_unwind): Likewise.

src/fileio.c

index dbeaf64..dfbfbb7 100644 (file)
@@ -248,19 +248,23 @@ report_file_error (string, data)
             Fcons (build_string (string), Fcons (errstring, data)));
 }
 
+Lisp_Object
 close_file_unwind (fd)
      Lisp_Object fd;
 {
   close (XFASTINT (fd));
+  return Qnil;
 }
 
 /* Restore point, having saved it as a marker.  */
 
+Lisp_Object
 restore_point_unwind (location)
      Lisp_Object location;
 {
   SET_PT (marker_position (location));
   Fset_marker (location, Qnil, Qnil);
+  return Qnil;
 }
 \f
 Lisp_Object Qexpand_file_name;