aboutsummaryrefslogtreecommitdiffstats
path: root/src/keyboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyboard.h')
-rw-r--r--src/keyboard.h14
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.
17You should have received a copy of the GNU General Public License 17You should have received a copy of the GNU General Public License
18along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 18along 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
23INLINE_HEADER_BEGIN 24INLINE_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. */
467extern bool waiting_for_input; 468extern 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. */
471extern EMACS_TIME *input_available_clear_time; 472extern 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
474extern bool ignore_mouse_drag_p; 475extern bool ignore_mouse_drag_p;
@@ -477,13 +478,10 @@ extern bool ignore_mouse_drag_p;
477/* The primary selection. */ 478/* The primary selection. */
478extern Lisp_Object QPRIMARY; 479extern Lisp_Object QPRIMARY;
479 480
480/* Forward declaration for prototypes. */
481struct input_event;
482
483extern Lisp_Object parse_modifiers (Lisp_Object); 481extern Lisp_Object parse_modifiers (Lisp_Object);
484extern Lisp_Object reorder_modifiers (Lisp_Object); 482extern Lisp_Object reorder_modifiers (Lisp_Object);
485extern Lisp_Object read_char (int, Lisp_Object, Lisp_Object, 483extern Lisp_Object read_char (int, Lisp_Object, Lisp_Object,
486 bool *, EMACS_TIME *); 484 bool *, struct timespec *);
487extern int parse_solitary_modifier (Lisp_Object symbol); 485extern int parse_solitary_modifier (Lisp_Object symbol);
488 486
489 487
@@ -549,7 +547,7 @@ extern bool kbd_buffer_events_waiting (void);
549extern void add_user_signal (int, const char *); 547extern void add_user_signal (int, const char *);
550 548
551extern int tty_read_avail_input (struct terminal *, struct input_event *); 549extern int tty_read_avail_input (struct terminal *, struct input_event *);
552extern EMACS_TIME timer_check (void); 550extern struct timespec timer_check (void);
553extern void mark_kboards (void); 551extern void mark_kboards (void);
554 552
555#ifdef HAVE_NTGUI 553#ifdef HAVE_NTGUI