aboutsummaryrefslogtreecommitdiff
path: root/manual/signal.texi
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/signal.texi
parent00d26929520f517929f59151167080921df4d781 (diff)
downloadglibc-403445d72e03e419c4a1c5b21bdff52a391e0727.tar
glibc-403445d72e03e419c4a1c5b21bdff52a391e0727.tar.gz
glibc-403445d72e03e419c4a1c5b21bdff52a391e0727.tar.bz2
glibc-403445d72e03e419c4a1c5b21bdff52a391e0727.zip
[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/signal.texi')
-rw-r--r--manual/signal.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/signal.texi b/manual/signal.texi
index dfaaa88950..ec02d9cf37 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)