diff options
| author | Jason Rumney | 2007-05-15 23:08:52 +0000 |
|---|---|---|
| committer | Jason Rumney | 2007-05-15 23:08:52 +0000 |
| commit | e2dc7ae509b8ba56dc0087fa0b9b772c3c80745e (patch) | |
| tree | 7617f1b68da3d230ac946f7dd4b4f8d6a11523e7 /src | |
| parent | 0835c7307e0d9ebb60bd98c513f82e94dae66a2e (diff) | |
| download | emacs-e2dc7ae509b8ba56dc0087fa0b9b772c3c80745e.tar.gz emacs-e2dc7ae509b8ba56dc0087fa0b9b772c3c80745e.zip | |
(restore_kboard_configuration): Only define when MULTI_KBOARD defined.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 3404c60a93a..50c1d5a43b8 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -678,7 +678,9 @@ static void save_getcjmp (); | |||
| 678 | static void restore_getcjmp P_ ((jmp_buf)); | 678 | static void restore_getcjmp P_ ((jmp_buf)); |
| 679 | static Lisp_Object apply_modifiers P_ ((int, Lisp_Object)); | 679 | static Lisp_Object apply_modifiers P_ ((int, Lisp_Object)); |
| 680 | static void clear_event P_ ((struct input_event *)); | 680 | static void clear_event P_ ((struct input_event *)); |
| 681 | #ifdef MULTI_KBOARD | ||
| 681 | static Lisp_Object restore_kboard_configuration P_ ((Lisp_Object)); | 682 | static Lisp_Object restore_kboard_configuration P_ ((Lisp_Object)); |
| 683 | #endif | ||
| 682 | static SIGTYPE interrupt_signal P_ ((int signalnum)); | 684 | static SIGTYPE interrupt_signal P_ ((int signalnum)); |
| 683 | static void handle_interrupt P_ ((void)); | 685 | static void handle_interrupt P_ ((void)); |
| 684 | static void timer_start_idle P_ ((void)); | 686 | static void timer_start_idle P_ ((void)); |
| @@ -1222,6 +1224,7 @@ record_single_kboard_state () | |||
| 1222 | } | 1224 | } |
| 1223 | #endif | 1225 | #endif |
| 1224 | 1226 | ||
| 1227 | #ifdef MULTI_KBOARD | ||
| 1225 | static Lisp_Object | 1228 | static Lisp_Object |
| 1226 | restore_kboard_configuration (was_locked) | 1229 | restore_kboard_configuration (was_locked) |
| 1227 | Lisp_Object was_locked; | 1230 | Lisp_Object was_locked; |
| @@ -1239,6 +1242,8 @@ restore_kboard_configuration (was_locked) | |||
| 1239 | } | 1242 | } |
| 1240 | return Qnil; | 1243 | return Qnil; |
| 1241 | } | 1244 | } |
| 1245 | #endif | ||
| 1246 | |||
| 1242 | 1247 | ||
| 1243 | /* Handle errors that are not handled at inner levels | 1248 | /* Handle errors that are not handled at inner levels |
| 1244 | by printing an error message and returning to the editor command loop. */ | 1249 | by printing an error message and returning to the editor command loop. */ |