1570af302Sopenharmony_ci#include <wchar.h>
2570af302Sopenharmony_ci#define T(t) (t*)0;
3570af302Sopenharmony_ci#define F(t,n) {t *y = &x.n;}
4570af302Sopenharmony_ci#define C(n) switch(n){case n:;}
5570af302Sopenharmony_cistatic void f()
6570af302Sopenharmony_ci{
7570af302Sopenharmony_ci#ifdef _POSIX_C_SOURCE
8570af302Sopenharmony_ciT(FILE)
9570af302Sopenharmony_ciT(locale_t)
10570af302Sopenharmony_ciT(va_list)
11570af302Sopenharmony_ci#endif
12570af302Sopenharmony_ciT(mbstate_t)
13570af302Sopenharmony_ciT(size_t)
14570af302Sopenharmony_ciT(wchar_t)
15570af302Sopenharmony_ciT(wint_t)
16570af302Sopenharmony_ciT(struct tm)
17570af302Sopenharmony_ciC(WCHAR_MAX)
18570af302Sopenharmony_ciC(WCHAR_MIN)
19570af302Sopenharmony_ciC(WEOF)
20570af302Sopenharmony_ci{void *x=NULL;}
21570af302Sopenharmony_ci{wint_t(*p)(int) = btowc;}
22570af302Sopenharmony_ci{wint_t(*p)(FILE*) = fgetwc;}
23570af302Sopenharmony_ci{wchar_t*(*p)(wchar_t*restrict,int,FILE*restrict) = fgetws;}
24570af302Sopenharmony_ci{wint_t(*p)(wchar_t,FILE*) = fputwc;}
25570af302Sopenharmony_ci{int(*p)(const wchar_t*restrict,FILE*restrict) = fputws;}
26570af302Sopenharmony_ci{int(*p)(FILE*,int) = fwide;}
27570af302Sopenharmony_ci{int(*p)(FILE*restrict,const wchar_t*restrict,...) = fwprintf;}
28570af302Sopenharmony_ci{int(*p)(FILE*restrict,const wchar_t*restrict,...) = fwscanf;}
29570af302Sopenharmony_ci{wint_t(*p)(FILE*) = getwc;}
30570af302Sopenharmony_ci{wint_t(*p)(void) = getwchar;}
31570af302Sopenharmony_ci{size_t(*p)(const char*restrict,size_t,mbstate_t*restrict) = mbrlen;}
32570af302Sopenharmony_ci{size_t(*p)(wchar_t*restrict,const char*restrict,size_t,mbstate_t*restrict) = mbrtowc;}
33570af302Sopenharmony_ci{int(*p)(const mbstate_t*) = mbsinit;}
34570af302Sopenharmony_ci{size_t(*p)(wchar_t*restrict,const char**restrict,size_t,mbstate_t*restrict) = mbsrtowcs;}
35570af302Sopenharmony_ci{wint_t(*p)(wchar_t,FILE*) = putwc;}
36570af302Sopenharmony_ci{wint_t(*p)(wchar_t) = putwchar;}
37570af302Sopenharmony_ci{int(*p)(wchar_t*restrict,size_t,const wchar_t*restrict,...) = swprintf;}
38570af302Sopenharmony_ci{int(*p)(const wchar_t*restrict,const wchar_t*restrict,...) = swscanf;}
39570af302Sopenharmony_ci{wint_t(*p)(wint_t,FILE*) = ungetwc;}
40570af302Sopenharmony_ci{int(*p)(FILE*restrict,const wchar_t*restrict,va_list) = vfwprintf;}
41570af302Sopenharmony_ci{int(*p)(FILE*restrict,const wchar_t*restrict,va_list) = vfwscanf;}
42570af302Sopenharmony_ci{int(*p)(wchar_t*restrict,size_t,const wchar_t*restrict,va_list) = vswprintf;}
43570af302Sopenharmony_ci{int(*p)(const wchar_t*restrict,const wchar_t*restrict,va_list) = vswscanf;}
44570af302Sopenharmony_ci{int(*p)(const wchar_t*restrict,va_list) = vwprintf;}
45570af302Sopenharmony_ci{int(*p)(const wchar_t*restrict,va_list) = vwscanf;}
46570af302Sopenharmony_ci{size_t(*p)(char*restrict,wchar_t,mbstate_t*restrict) = wcrtomb;}
47570af302Sopenharmony_ci{wchar_t*(*p)(wchar_t*restrict,const wchar_t*restrict) = wcscat;}
48570af302Sopenharmony_ci{wchar_t*(*p)(const wchar_t*,wchar_t) = wcschr;}
49570af302Sopenharmony_ci{int(*p)(const wchar_t*,const wchar_t*) = wcscmp;}
50570af302Sopenharmony_ci{int(*p)(const wchar_t*,const wchar_t*) = wcscoll;}
51570af302Sopenharmony_ci{wchar_t*(*p)(wchar_t*restrict,const wchar_t*restrict) = wcscpy;}
52570af302Sopenharmony_ci{size_t(*p)(const wchar_t*,const wchar_t*) = wcscspn;}
53570af302Sopenharmony_ci{size_t(*p)(wchar_t*restrict,size_t,const wchar_t*restrict,const struct tm*restrict) = wcsftime;}
54570af302Sopenharmony_ci{size_t(*p)(const wchar_t*) = wcslen;}
55570af302Sopenharmony_ci{wchar_t*(*p)(wchar_t*restrict,const wchar_t*restrict,size_t) = wcsncat;}
56570af302Sopenharmony_ci{int(*p)(const wchar_t*,const wchar_t*,size_t) = wcsncmp;}
57570af302Sopenharmony_ci{wchar_t*(*p)(wchar_t*restrict,const wchar_t*restrict,size_t) = wcsncpy;}
58570af302Sopenharmony_ci{wchar_t*(*p)(const wchar_t*,const wchar_t*) = wcspbrk;}
59570af302Sopenharmony_ci{wchar_t*(*p)(const wchar_t*,wchar_t) = wcsrchr;}
60570af302Sopenharmony_ci{size_t(*p)(char*restrict,const wchar_t**restrict,size_t,mbstate_t*restrict) = wcsrtombs;}
61570af302Sopenharmony_ci{size_t(*p)(const wchar_t*,const wchar_t*) = wcsspn;}
62570af302Sopenharmony_ci{wchar_t*(*p)(const wchar_t*restrict,const wchar_t*restrict) = wcsstr;}
63570af302Sopenharmony_ci{double(*p)(const wchar_t*restrict,wchar_t**restrict) = wcstod;}
64570af302Sopenharmony_ci{float(*p)(const wchar_t*restrict,wchar_t**restrict) = wcstof;}
65570af302Sopenharmony_ci{wchar_t*(*p)(wchar_t*restrict,const wchar_t*restrict,wchar_t**restrict) = wcstok;}
66570af302Sopenharmony_ci{long(*p)(const wchar_t*restrict,wchar_t**restrict,int) = wcstol;}
67570af302Sopenharmony_ci{long double(*p)(const wchar_t*restrict,wchar_t**restrict) = wcstold;}
68570af302Sopenharmony_ci{long long(*p)(const wchar_t*restrict,wchar_t**restrict,int) = wcstoll;}
69570af302Sopenharmony_ci{unsigned long(*p)(const wchar_t*restrict,wchar_t**restrict,int) = wcstoul;}
70570af302Sopenharmony_ci{unsigned long long(*p)(const wchar_t*restrict,wchar_t**restrict,int) = wcstoull;}
71570af302Sopenharmony_ci{size_t(*p)(wchar_t*restrict,const wchar_t*restrict,size_t) = wcsxfrm;}
72570af302Sopenharmony_ci{int(*p)(wint_t) = wctob;}
73570af302Sopenharmony_ci{wchar_t*(*p)(const wchar_t*,wchar_t,size_t) = wmemchr;}
74570af302Sopenharmony_ci{int(*p)(const wchar_t*,const wchar_t*,size_t) = wmemcmp;}
75570af302Sopenharmony_ci{wchar_t*(*p)(wchar_t*restrict,const wchar_t*restrict,size_t) = wmemcpy;}
76570af302Sopenharmony_ci{wchar_t*(*p)(wchar_t*,const wchar_t*,size_t) = wmemmove;}
77570af302Sopenharmony_ci{wchar_t*(*p)(wchar_t*,wchar_t,size_t) = wmemset;}
78570af302Sopenharmony_ci#ifdef _POSIX_C_SOURCE
79570af302Sopenharmony_ci{size_t(*p)(wchar_t*restrict,const char**restrict,size_t,size_t,mbstate_t*restrict) = mbsnrtowcs;}
80570af302Sopenharmony_ci{FILE*(*p)(wchar_t**,size_t*) = open_wmemstream;}
81570af302Sopenharmony_ci{wchar_t*(*p)(wchar_t*restrict,const wchar_t*restrict) = wcpcpy;}
82570af302Sopenharmony_ci{wchar_t*(*p)(wchar_t*restrict,const wchar_t*restrict,size_t) = wcpncpy;}
83570af302Sopenharmony_ci{int(*p)(const wchar_t*,const wchar_t*) = wcscasecmp;}
84570af302Sopenharmony_ci{int(*p)(const wchar_t*,const wchar_t*,locale_t) = wcscasecmp_l;}
85570af302Sopenharmony_ci{int(*p)(const wchar_t*,const wchar_t*,locale_t) = wcscoll_l;}
86570af302Sopenharmony_ci{wchar_t*(*p)(const wchar_t*) = wcsdup;}
87570af302Sopenharmony_ci{int(*p)(const wchar_t*,const wchar_t*,size_t) = wcsncasecmp;}
88570af302Sopenharmony_ci{int(*p)(const wchar_t*,const wchar_t*,size_t,locale_t) = wcsncasecmp_l;}
89570af302Sopenharmony_ci{size_t(*p)(const wchar_t*,size_t) = wcsnlen;}
90570af302Sopenharmony_ci{size_t(*p)(char*restrict,const wchar_t**restrict,size_t,size_t,mbstate_t*restrict) = wcsnrtombs;}
91570af302Sopenharmony_ci{size_t(*p)(wchar_t*restrict,const wchar_t*restrict,size_t,locale_t) = wcsxfrm_l;}
92570af302Sopenharmony_ci#endif
93570af302Sopenharmony_ci#ifdef _XOPEN_SOURCE
94570af302Sopenharmony_ci{int(*p)(const wchar_t*,size_t) = wcswidth;}
95570af302Sopenharmony_ci{int(*p)(wchar_t) = wcwidth;}
96570af302Sopenharmony_ci#endif
97570af302Sopenharmony_ci}
98