aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 5eb05979717..1b9a4e9a960 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -357,10 +357,7 @@ static struct input_event *kbd_fetch_ptr;
357/* Pointer to next place to store character in kbd_buffer. This 357/* Pointer to next place to store character in kbd_buffer. This
358 may be kbd_buffer + KBD_BUFFER_SIZE, meaning that the next 358 may be kbd_buffer + KBD_BUFFER_SIZE, meaning that the next
359 character should go in kbd_buffer[0]. */ 359 character should go in kbd_buffer[0]. */
360#ifdef __STDC__ 360static volatile struct input_event *kbd_store_ptr;
361volatile
362#endif
363static struct input_event *kbd_store_ptr;
364 361
365/* The above pair of variables forms a "queue empty" flag. When we 362/* The above pair of variables forms a "queue empty" flag. When we
366 enqueue a non-hook event, we increment kbd_write_count. When we 363 enqueue a non-hook event, we increment kbd_write_count. When we