summaryrefslogtreecommitdiff
path: root/elf/tst-tlsmod14a.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-09-10 14:34:15 -0400
committerUlrich Drepper <drepper@gmail.com>2011-09-10 14:34:15 -0400
commit3ce1f2959437e952b9db4eaeed2407424f11a4d1 (patch)
treedb47da854c7d3bfc2c3bce4c6fc8381075ac9ec4 /elf/tst-tlsmod14a.c
parent1248c1c41508387ff282b208636737e8cdc9b5b0 (diff)
Cleanup of configuration options
Make several tool features mandatory and simplify the code.
Diffstat (limited to 'elf/tst-tlsmod14a.c')
-rw-r--r--elf/tst-tlsmod14a.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/elf/tst-tlsmod14a.c b/elf/tst-tlsmod14a.c
index ad1d179aac..6806d3403c 100644
--- a/elf/tst-tlsmod14a.c
+++ b/elf/tst-tlsmod14a.c
@@ -3,9 +3,7 @@
#include <tls.h>
-#if HAVE___THREAD
-
-# define AL 4096
+#define AL 4096
struct foo
{
int i;
@@ -15,9 +13,9 @@ static __thread struct foo f;
static struct foo g;
-# ifndef FCT
-# define FCT in_dso1
-# endif
+#ifndef FCT
+# define FCT in_dso1
+#endif
int
@@ -37,5 +35,3 @@ FCT (void)
return result;
}
-
-#endif