aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-07-20 08:03:19 +0000
committerJakub Jelinek <jakub@redhat.com>2007-07-20 08:03:19 +0000
commit403445d72e03e419c4a1c5b21bdff52a391e0727 (patch)
tree54ab50ce9174f4ad92475938011c546a748a8974 /manual
parent00d26929520f517929f59151167080921df4d781 (diff)
downloadglibc-403445d72e03e419c4a1c5b21bdff52a391e0727.zip
glibc-403445d72e03e419c4a1c5b21bdff52a391e0727.tar.gz
glibc-403445d72e03e419c4a1c5b21bdff52a391e0727.tar.bz2
[BZ #4816]
* manual/signal.texi (Non-atomic Example): Make memory var volatile. [BZ #4816] * manual/signal.texi (Non-atomic Example): Make memory var volatile.
Diffstat (limited to 'manual')
-rw-r--r--manual/signal.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/signal.texi b/manual/signal.texi
index dfaaa88..ec02d9c 100644
--- a/manual/signal.texi
+++ b/manual/signal.texi
@@ -1966,7 +1966,7 @@ writing.)
#include <signal.h>
#include <stdio.h>
-struct two_words @{ int a, b; @} memory;
+volatile struct two_words @{ int a, b; @} memory;
void
handler(int signum)