X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fapi%2Fstrings.c;h=f51c7d67f7f7e5784526a0bec7b006ed89e6beb5;hb=2bfb414517031063e18dc4a07543e279dc07461d;hp=30177cdfb2c75f7c0e20adf4eb93355459565e8e;hpb=f81126942f3b97eec5bdf2fb57a45579946be59d;p=libc-test diff --git a/src/api/strings.c b/src/api/strings.c index 30177cd..f51c7d6 100644 --- a/src/api/strings.c +++ b/src/api/strings.c @@ -5,10 +5,10 @@ static void f() T(size_t) T(locale_t) #ifdef _XOPEN_SOURCE -int(*p_ffs)(int) = ffs; +{int(*p)(int) = ffs;} #endif -int(*p_strcasecmp)(const char*,const char*) = strcasecmp; -int(*p_strcasecmp_l)(const char*,const char*,locale_t) = strcasecmp_l; -int(*p_strncasecmp)(const char*,const char*,size_t) = strncasecmp; -int(*p_strncasecmp_l)(const char*,const char*,size_t,locale_t) = strncasecmp_l; +{int(*p)(const char*,const char*) = strcasecmp;} +{int(*p)(const char*,const char*,locale_t) = strcasecmp_l;} +{int(*p)(const char*,const char*,size_t) = strncasecmp;} +{int(*p)(const char*,const char*,size_t,locale_t) = strncasecmp_l;} }