changeset 83584:95193d50d928

(restore_kboard_configuration): Only define when MULTI_KBOARD defined.
author Jason Rumney <jasonr@gnu.org>
date Tue, 15 May 2007 23:08:52 +0000
parents c933949cdadb
children 2d1770557962
files src/keyboard.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Tue May 15 23:08:04 2007 +0000
+++ b/src/keyboard.c	Tue May 15 23:08:52 2007 +0000
@@ -678,7 +678,9 @@
 static void restore_getcjmp P_ ((jmp_buf));
 static Lisp_Object apply_modifiers P_ ((int, Lisp_Object));
 static void clear_event P_ ((struct input_event *));
+#ifdef MULTI_KBOARD
 static Lisp_Object restore_kboard_configuration P_ ((Lisp_Object));
+#endif
 static SIGTYPE interrupt_signal P_ ((int signalnum));
 static void handle_interrupt P_ ((void));
 static void timer_start_idle P_ ((void));
@@ -1222,6 +1224,7 @@
 }
 #endif
 
+#ifdef MULTI_KBOARD
 static Lisp_Object
 restore_kboard_configuration (was_locked)
      Lisp_Object was_locked;
@@ -1239,6 +1242,8 @@
     }
   return Qnil;
 }
+#endif
+
 
 /* Handle errors that are not handled at inner levels
    by printing an error message and returning to the editor command loop.  */