changeset 20380:efe9d1d6fc23

(Fsuspend_emacs): Cast init_sys_modes when calling record_unwind_protect.
author Andreas Schwab <schwab@suse.de>
date Fri, 28 Nov 1997 14:48:28 +0000
parents e6db4b8d2834
children 1dd3842977c0
files src/keyboard.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Fri Nov 28 14:45:07 1997 +0000
+++ b/src/keyboard.c	Fri Nov 28 14:48:28 1997 +0000
@@ -7548,7 +7548,8 @@
   reset_sys_modes ();
   /* sys_suspend can get an error if it tries to fork a subshell
      and the system resources aren't available for that.  */
-  record_unwind_protect (init_sys_modes, 0);
+  record_unwind_protect ((Lisp_Object (*) P_ ((Lisp_Object))) init_sys_modes,
+			 0);
   stuff_buffered_input (stuffstring);
   if (cannot_suspend)
     sys_subshell ();