Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
cf2db145
Commit
cf2db145
authored
Jan 26, 2007
by
YAMAMOTO Mitsuharu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(interrupt_input_blocked): Declare volatile.
parent
86302e37
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/blockinput.h
src/blockinput.h
+1
-1
src/keyboard.c
src/keyboard.c
+1
-1
No files found.
src/blockinput.h
View file @
cf2db145
...
...
@@ -49,7 +49,7 @@ Boston, MA 02110-1301, USA. */
interrupt_input_pending to a non-zero value. If that flag is set
when input becomes unblocked, UNBLOCK_INPUT will send a new SIGIO. */
extern
int
interrupt_input_blocked
;
extern
volatile
int
interrupt_input_blocked
;
/* Nonzero means an input interrupt has arrived
during the current critical section. */
...
...
src/keyboard.c
View file @
cf2db145
...
...
@@ -90,7 +90,7 @@ extern int errno;
/* Variables for blockinput.h: */
/* Non-zero if interrupt input is blocked right now. */
int interrupt_input_blocked;
volatile
int interrupt_input_blocked;
/* Nonzero means an input interrupt has arrived
during the current critical section. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment