Revert "Define F_SETOWN_EX and F_GETOWN_EX in Linux headers."
[glibc.git] / elf / tst-unique1mod1.c
blob16de28d25e7b90732523b123016f0118cb3768e7
1 #include <config.h>
3 #ifdef HAVE_ASM_UNIQUE_OBJECT
4 # define S(s) _S (s)
5 # define _S(s) #s
7 asm (".data;"
8 S (ASM_GLOBAL_DIRECTIVE) " var\n"
9 ".type var, " S (ASM_TYPE_DIRECTIVE_PREFIX) "gnu_unique_object\n"
10 ".size var, 4\n"
11 "var:.zero 4\n"
12 ".previous");
13 extern int var;
15 int *
16 f (void)
18 var = 1;
19 return &var;
21 #endif