X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fcompat-poll.c;h=11149f4d46f04b9b55cee2f87c41dd530138ab56;hp=b45b39dc6bdbd45daf69944316b1d663f1744867;hb=refs%2Fheads%2FC009-19;hpb=7b5f9b209f57ad2633fb270ba2c11ffb4c985c4f diff --git a/src/common/compat/compat-poll.c b/src/common/compat/compat-poll.c index b45b39dc6..11149f4d4 100644 --- a/src/common/compat/compat-poll.c +++ b/src/common/compat/compat-poll.c @@ -102,6 +102,7 @@ error: /* * Create pollfd data structure. */ +LTTNG_HIDDEN int compat_poll_create(struct lttng_poll_event *events, int size) { struct compat_poll_event_array *current, *wait; @@ -200,6 +201,7 @@ error: /* * Modify an fd's events.. */ +LTTNG_HIDDEN int compat_poll_mod(struct lttng_poll_event *events, int fd, uint32_t req_events) { @@ -236,6 +238,7 @@ error: /* * Remove a fd from the pollfd structure. */ +LTTNG_HIDDEN int compat_poll_del(struct lttng_poll_event *events, int fd) { int new_size, i, count = 0, ret; @@ -281,6 +284,7 @@ error: /* * Wait on poll() with timeout. Blocking call. */ +LTTNG_HIDDEN int compat_poll_wait(struct lttng_poll_event *events, int timeout) { int ret; @@ -328,6 +332,7 @@ error: /* * Setup poll set maximum size. */ +LTTNG_HIDDEN int compat_poll_set_max_size(void) { int ret, retval = 0;