* nis/nss_nisplus/nisplus-service.c: Fix locking to use
[glibc.git] / elf / tst-tls10.h
blob1be6adc29372916a66159637cbb81c000a250fd5
1 #include <tls.h>
2 #include <stdlib.h>
4 #if defined USE_TLS && defined HAVE___THREAD \
5 && defined HAVE_TLS_MODEL_ATTRIBUTE
6 # define USE_TLS__THREAD
8 struct A
10 char a;
11 int b;
12 long long c;
15 extern __thread struct A a1, a2, a3, a4;
16 extern struct A *f1a (void);
17 extern struct A *f2a (void);
18 extern struct A *f3a (void);
19 extern struct A *f4a (void);
20 extern struct A *f5a (void);
21 extern struct A *f6a (void);
22 extern struct A *f7a (void);
23 extern struct A *f8a (void);
24 extern struct A *f9a (void);
25 extern struct A *f10a (void);
26 extern int f1b (void);
27 extern int f2b (void);
28 extern int f3b (void);
29 extern int f4b (void);
30 extern int f5b (void);
31 extern int f6b (void);
32 extern int f7b (void);
33 extern int f8b (void);
34 extern int f9b (void);
35 extern int f10b (void);
36 extern void check1 (void);
37 extern void check2 (void);
38 #endif