X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fpoll.h;h=cc2aab8f8fa50abde12b95763a23d60d89efb264;hb=4878de5c7deb512bbdac4fdfc498907efa06fb7c;hp=f9fb33fc9f8c2405bac7f1b999d05f5385799bce;hpb=f3af9f34ce10b8eb2c99541b1adce9bb0ac16998;p=lttng-tools.git diff --git a/src/common/compat/poll.h b/src/common/compat/poll.h index f9fb33fc9..cc2aab8f8 100644 --- a/src/common/compat/poll.h +++ b/src/common/compat/poll.h @@ -354,7 +354,8 @@ extern int compat_poll_set_max_size(void); /* * No need to reset a pollfd structure for poll(2) */ -static inline void lttng_poll_reset(struct lttng_poll_event *events) +static inline void lttng_poll_reset( + struct lttng_poll_event *events __attribute__((unused))) {} /*