diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-09-10 14:34:15 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-09-10 14:34:15 -0400 |
commit | 3ce1f2959437e952b9db4eaeed2407424f11a4d1 (patch) | |
tree | db47da854c7d3bfc2c3bce4c6fc8381075ac9ec4 /nptl/tst-tls4modb.c | |
parent | 1248c1c41508387ff282b208636737e8cdc9b5b0 (diff) | |
download | glibc-3ce1f2959437e952b9db4eaeed2407424f11a4d1.tar.gz |
Cleanup of configuration options
Make several tool features mandatory and simplify the code.
Diffstat (limited to 'nptl/tst-tls4modb.c')
-rw-r--r-- | nptl/tst-tls4modb.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/nptl/tst-tls4modb.c b/nptl/tst-tls4modb.c index 99f3b5405f..10cca08fb5 100644 --- a/nptl/tst-tls4modb.c +++ b/nptl/tst-tls4modb.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2003 Free Software Foundation, Inc. +/* Copyright (C) 2003, 2011 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Jakub Jelinek <jakub@redhat.com>, 2003. @@ -22,7 +22,6 @@ #include <unistd.h> #include <tls.h> -#if HAVE___THREAD && defined HAVE_TLS_MODEL_ATTRIBUTE static int i; int bar; @@ -44,7 +43,7 @@ test1 (void) for (s = 0; s < sizeof (foo) / sizeof (void *); ++s) { if (foo [s]) - abort (); + abort (); foo [s] = &foo[s]; } } @@ -57,9 +56,7 @@ test2 (void) for (s = 0; s < sizeof (foo) / sizeof (void *); ++s) { if (foo [s] != &foo [s]) - abort (); + abort (); foo [s] = &foo [s ^ 1]; } } - -#endif |