diff options
Diffstat (limited to 'src/keyboard.h')
| -rw-r--r-- | src/keyboard.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/keyboard.h b/src/keyboard.h index daba94898d8..1ee4a97c5c5 100644 --- a/src/keyboard.h +++ b/src/keyboard.h | |||
| @@ -17,8 +17,9 @@ GNU General Public License for more details. | |||
| 17 | You should have received a copy of the GNU General Public License | 17 | You should have received a copy of the GNU General Public License |
| 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
| 19 | 19 | ||
| 20 | #include "systime.h" /* for EMACS_TIME, Time */ | 20 | #include "systime.h" /* for struct timespec, Time */ |
| 21 | #include "coding.h" /* for ENCODE_UTF_8 and ENCODE_SYSTEM */ | 21 | #include "coding.h" /* for ENCODE_UTF_8 and ENCODE_SYSTEM */ |
| 22 | #include "termhooks.h" | ||
| 22 | 23 | ||
| 23 | INLINE_HEADER_BEGIN | 24 | INLINE_HEADER_BEGIN |
| 24 | #ifndef KEYBOARD_INLINE | 25 | #ifndef KEYBOARD_INLINE |
| @@ -466,9 +467,9 @@ extern Lisp_Object Qmode_line, Qvertical_line, Qheader_line; | |||
| 466 | /* True while doing kbd input. */ | 467 | /* True while doing kbd input. */ |
| 467 | extern bool waiting_for_input; | 468 | extern bool waiting_for_input; |
| 468 | 469 | ||
| 469 | /* Address (if not 0) of EMACS_TIME to zero out if a SIGIO interrupt | 470 | /* Address (if not 0) of struct timespec to zero out if a SIGIO interrupt |
| 470 | happens. */ | 471 | happens. */ |
| 471 | extern EMACS_TIME *input_available_clear_time; | 472 | extern struct timespec *input_available_clear_time; |
| 472 | 473 | ||
| 473 | #if defined HAVE_WINDOW_SYSTEM && !defined USE_GTK && !defined HAVE_NS | 474 | #if defined HAVE_WINDOW_SYSTEM && !defined USE_GTK && !defined HAVE_NS |
| 474 | extern bool ignore_mouse_drag_p; | 475 | extern bool ignore_mouse_drag_p; |
| @@ -477,13 +478,10 @@ extern bool ignore_mouse_drag_p; | |||
| 477 | /* The primary selection. */ | 478 | /* The primary selection. */ |
| 478 | extern Lisp_Object QPRIMARY; | 479 | extern Lisp_Object QPRIMARY; |
| 479 | 480 | ||
| 480 | /* Forward declaration for prototypes. */ | ||
| 481 | struct input_event; | ||
| 482 | |||
| 483 | extern Lisp_Object parse_modifiers (Lisp_Object); | 481 | extern Lisp_Object parse_modifiers (Lisp_Object); |
| 484 | extern Lisp_Object reorder_modifiers (Lisp_Object); | 482 | extern Lisp_Object reorder_modifiers (Lisp_Object); |
| 485 | extern Lisp_Object read_char (int, Lisp_Object, Lisp_Object, | 483 | extern Lisp_Object read_char (int, Lisp_Object, Lisp_Object, |
| 486 | bool *, EMACS_TIME *); | 484 | bool *, struct timespec *); |
| 487 | extern int parse_solitary_modifier (Lisp_Object symbol); | 485 | extern int parse_solitary_modifier (Lisp_Object symbol); |
| 488 | 486 | ||
| 489 | 487 | ||
| @@ -549,7 +547,7 @@ extern bool kbd_buffer_events_waiting (void); | |||
| 549 | extern void add_user_signal (int, const char *); | 547 | extern void add_user_signal (int, const char *); |
| 550 | 548 | ||
| 551 | extern int tty_read_avail_input (struct terminal *, struct input_event *); | 549 | extern int tty_read_avail_input (struct terminal *, struct input_event *); |
| 552 | extern EMACS_TIME timer_check (void); | 550 | extern struct timespec timer_check (void); |
| 553 | extern void mark_kboards (void); | 551 | extern void mark_kboards (void); |
| 554 | 552 | ||
| 555 | #ifdef HAVE_NTGUI | 553 | #ifdef HAVE_NTGUI |