fix regression/pthread_once-deadlock
[libc-test.git] / src / api / sys_utsname.c
blob6e1aee99086c963e9df865dc7e857ba6b55710fb
1 #include <sys/utsname.h>
2 #define F(t,n) {t *y = &x.n;}
3 static void f()
6 struct utsname x;
7 F(char,sysname[1])
8 F(char,nodename[1])
9 F(char,release[1])
10 F(char,version[1])
11 F(char,machine[1])
13 {int(*p)(struct utsname*) = uname;}