projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
schlock global variable needs to be volatile
[openssl.git]
/
apps
/
speed.c
diff --git
a/apps/speed.c
b/apps/speed.c
index becdf6efcda96c76e5a9541244156bd73a6895c3..2d943b12e2778701191c708e55d5e8558f151435 100644
(file)
--- a/
apps/speed.c
+++ b/
apps/speed.c
@@
-275,7
+275,8
@@
static SIGRETTYPE sig_done(int sig)
# if !defined(SIGALRM)
# define SIGALRM
# endif
-static unsigned int lapse, schlock;
+static unsigned int lapse;
+static volatile unsigned int schlock;
static void alarm_win32(unsigned int secs)
{
lapse = secs * 1000;