aboutsummaryrefslogtreecommitdiff
path: root/elf/tst-tls13.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-12-22 20:10:10 +0000
committerUlrich Drepper <drepper@redhat.com>2004-12-22 20:10:10 +0000
commita334319f6530564d22e775935d9c91663623a1b4 (patch)
treeb5877475619e4c938e98757d518bb1e9cbead751 /elf/tst-tls13.c
parent0ecb606cb6cf65de1d9fc8a919bceb4be476c602 (diff)
downloadglibc-a334319f6530564d22e775935d9c91663623a1b4.tar
glibc-a334319f6530564d22e775935d9c91663623a1b4.tar.gz
glibc-a334319f6530564d22e775935d9c91663623a1b4.tar.bz2
glibc-a334319f6530564d22e775935d9c91663623a1b4.zip
(CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.
Diffstat (limited to 'elf/tst-tls13.c')
-rw-r--r--elf/tst-tls13.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/elf/tst-tls13.c b/elf/tst-tls13.c
index 06bfbacb5c..55fb62e540 100644
--- a/elf/tst-tls13.c
+++ b/elf/tst-tls13.c
@@ -2,17 +2,17 @@
#include <dlfcn.h>
#include <stdio.h>
#include <stdlib.h>
-#include <unistd.h>
static int
do_test (void)
{
- for (int i = 0; i < 1000;)
+ int i;
+ for (i = 0; i < 1000;)
{
printf ("round %d\n",++i);
- void *h = dlopen ("$ORIGIN/tst-tlsmod13a.so", RTLD_LAZY);
+ void *h = dlopen ("tst-tlsmod13a.so", RTLD_LAZY);
if (h == NULL)
{
printf ("cannot load: %s\n", dlerror ());