On Tue, Dec 3, 2013 at 1:55 PM, Christian Weisgerber <[email protected]> wrote:
> +#if __BSD_VISIBLE
> +#define        FD_COPY(f, t)   (void)(*(t) = *(f))
> +#endif
> +#define        FD_ZERO(p) do                                   \
> +       fd_set *_p = (p);                               \
> +       __size_t _n = __howmany(FD_SETSIZE, __NFDBITS); \
> +                                                       \
> +       while (_n > 0)                                  \
> +               _p->fds_bits[--_n] = 0;                 \
> +} while (0)

I think you're missing a "{" after the do. :)

But otherwise looks ok to me.

Reply via email to