summaryrefslogtreecommitdiff
path: root/test/tls
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-06-24 15:10:48 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-06-24 15:10:48 +0200
commit1dc2afe522b1c6d23c4d16b23e083cc38c69da55 (patch)
tree9d7e6a83cb9714c3147bce7accfd0642fa5c2581 /test/tls
parent59f3d4df3b644583311e89e84cc3fbae6aec8b32 (diff)
use uniform form of C99 keywords
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'test/tls')
-rw-r--r--test/tls/tst-tlsmod17a.c2
-rw-r--r--test/tls/tst-tlsmod18a.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/tls/tst-tlsmod17a.c b/test/tls/tst-tlsmod17a.c
index eb599e726..4d3965005 100644
--- a/test/tls/tst-tlsmod17a.c
+++ b/test/tls/tst-tlsmod17a.c
@@ -13,7 +13,7 @@ CONCAT (tlsmod17a, N) (void)
{
int *p = &CONCAT (v, N);
/* GCC assumes &var is never NULL, add optimization barrier. */
- __asm __volatile ("" : "+r" (p));
+ __asm__ __volatile__ ("" : "+r" (p));
if (p == NULL || *p != 4)
{
printf ("fail %d %p\n", N, p);
diff --git a/test/tls/tst-tlsmod18a.c b/test/tls/tst-tlsmod18a.c
index 9aba607ed..e0ae65a88 100644
--- a/test/tls/tst-tlsmod18a.c
+++ b/test/tls/tst-tlsmod18a.c
@@ -11,7 +11,7 @@ test (void)
{
int *p = &var;
/* GCC assumes &var is never NULL, add optimization barrier. */
- __asm __volatile ("" : "+r" (p));
+ __asm__ __volatile__ ("" : "+r" (p));
if (p == NULL || *p != 4)
{
printf ("fail %d %p\n", N, p);