X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fapi%2Fregex.c;h=8d867cea3cc3e198cf9c11a27638042975a2d15b;hb=2bfb414517031063e18dc4a07543e279dc07461d;hp=ae549284b00a2fec959049c7721b44ba054ce9dd;hpb=d7c151575c3f0420bc5e4dcd96d8ee4165e4b56f;p=libc-test diff --git a/src/api/regex.c b/src/api/regex.c index ae54928..8d867ce 100644 --- a/src/api/regex.c +++ b/src/api/regex.c @@ -34,8 +34,8 @@ C(REG_BADBR) C(REG_ERANGE) C(REG_ESPACE) C(REG_BADRPT) -int(*p_regcomp)(regex_t*restrict,const char*restrict,int) = regcomp; -size_t(*p_regerror)(int,const regex_t*restrict,char*restrict,size_t) = regerror; -int(*p_regexec)(const regex_t*restrict,const char*restrict,size_t,regmatch_t[restrict],int) = regexec; -void(*p_regfree)(regex_t*) = regfree; +{int(*p)(regex_t*restrict,const char*restrict,int) = regcomp;} +{size_t(*p)(int,const regex_t*restrict,char*restrict,size_t) = regerror;} +{int(*p)(const regex_t*restrict,const char*restrict,size_t,regmatch_t[restrict],int) = regexec;} +{void(*p)(regex_t*) = regfree;} }