summaryrefslogtreecommitdiff
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-09-20 04:27:27 +0000
committerKarl Heuer <kwzh@gnu.org>1994-09-20 04:27:27 +0000
commit0ee3ea278e60d87c690cd91c0a88ee234d694dbd (patch)
treefd9f9d9b47824a60709644d5263f957a3c5ed98b /src/keyboard.c
parent8ee94b5d44172667121cace5e566685381bfee8a (diff)
downloademacs-0ee3ea278e60d87c690cd91c0a88ee234d694dbd.tar.gz
(kbd_store_ptr): Declare storage class before qualifier.
Diffstat (limited to 'src/keyboard.c')
-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;
/* Pointer to next place to store character in kbd_buffer. This
may be kbd_buffer + KBD_BUFFER_SIZE, meaning that the next
character should go in kbd_buffer[0]. */
-#ifdef __STDC__
-volatile
-#endif
-static struct input_event *kbd_store_ptr;
+static volatile struct input_event *kbd_store_ptr;
/* The above pair of variables forms a "queue empty" flag. When we
enqueue a non-hook event, we increment kbd_write_count. When we