X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fapi%2Fsys_select.c;h=077930c36eda62616da02332009dc730561d1327;hb=HEAD;hp=d013d96d44613f40c232aa2611d814b02e073c25;hpb=f81126942f3b97eec5bdf2fb57a45579946be59d;p=libc-test diff --git a/src/api/sys_select.c b/src/api/sys_select.c index d013d96..077930c 100644 --- a/src/api/sys_select.c +++ b/src/api/sys_select.c @@ -16,17 +16,17 @@ F(suseconds_t, tv_usec) } C(FD_SETSIZE) #ifndef FD_CLR -void(*p_FD_CLR)(int,fd_set*) = FD_CLR; +{void(*p)(int,fd_set*) = FD_CLR;} #endif #ifndef FD_ISSET -int(*p_FD_ISSET)(int,fd_set*) = FD_ISSET; +{int(*p)(int,fd_set*) = FD_ISSET;} #endif #ifndef FD_SET -void(*p_FD_SET)(int,fd_set*) = FD_SET; +{void(*p)(int,fd_set*) = FD_SET;} #endif #ifndef FD_ZERO -void(*p_FD_ZERO)(fd_set*) = FD_ZERO; +{void(*p)(fd_set*) = FD_ZERO;} #endif -int(*p_pselect)(int,fd_set*restrict,fd_set*restrict,fd_set*restrict,const struct timespec*restrict,const sigset_t*restrict) = pselect; -int(*p_select)(int,fd_set*restrict,fd_set*restrict,fd_set*restrict,struct timeval*restrict) = select; +{int(*p)(int,fd_set*restrict,fd_set*restrict,fd_set*restrict,const struct timespec*restrict,const sigset_t*restrict) = pselect;} +{int(*p)(int,fd_set*restrict,fd_set*restrict,fd_set*restrict,struct timeval*restrict) = select;} }