X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fpipe.c;fp=src%2Fcommon%2Fpipe.c;h=45be43fa3833fe21966b8377a9831e6c185b7540;hp=e052e6fe09f951bcfd3f7c68090530cd1c39e02b;hb=ca806b0b247f89c62ac628a7779ae84049a8c2d7;hpb=a4705d55c62276cb913c64832f383e27aa72668b diff --git a/src/common/pipe.c b/src/common/pipe.c index e052e6fe0..45be43fa3 100644 --- a/src/common/pipe.c +++ b/src/common/pipe.c @@ -177,7 +177,6 @@ end: * * Return a newly allocated lttng pipe on success or else NULL. */ -LTTNG_HIDDEN struct lttng_pipe *lttng_pipe_open(int flags) { int ret; @@ -214,7 +213,6 @@ error: * * Return a newly allocated lttng pipe on success or else NULL. */ -LTTNG_HIDDEN struct lttng_pipe *lttng_pipe_named_open(const char *path, mode_t mode, int flags) { @@ -265,7 +263,6 @@ error: * * Return 0 on success else a negative value. */ -LTTNG_HIDDEN int lttng_pipe_read_close(struct lttng_pipe *pipe) { int ret; @@ -285,7 +282,6 @@ int lttng_pipe_read_close(struct lttng_pipe *pipe) * * Return 0 on success else a negative value. */ -LTTNG_HIDDEN int lttng_pipe_write_close(struct lttng_pipe *pipe) { int ret; @@ -304,7 +300,6 @@ int lttng_pipe_write_close(struct lttng_pipe *pipe) * * Return 0 on success else a negative value. */ -LTTNG_HIDDEN int lttng_pipe_close(struct lttng_pipe *pipe) { int ret, ret_val = 0; @@ -327,7 +322,6 @@ int lttng_pipe_close(struct lttng_pipe *pipe) /* * Close and destroy a lttng pipe object. Finally, pipe is freed. */ -LTTNG_HIDDEN void lttng_pipe_destroy(struct lttng_pipe *pipe) { int ret; @@ -364,7 +358,6 @@ void lttng_pipe_destroy(struct lttng_pipe *pipe) * Return "count" on success. Return < count on error. errno can be used * to check the actual error. */ -LTTNG_HIDDEN ssize_t lttng_pipe_read(struct lttng_pipe *pipe, void *buf, size_t count) { ssize_t ret; @@ -390,7 +383,6 @@ error: * Return "count" on success. Return < count on error. errno can be used * to check the actual error. */ -LTTNG_HIDDEN ssize_t lttng_pipe_write(struct lttng_pipe *pipe, const void *buf, size_t count) { @@ -420,7 +412,6 @@ error: * Returns the fd of the read end of the pipe, or -1 if it was already closed or * released. */ -LTTNG_HIDDEN int lttng_pipe_release_readfd(struct lttng_pipe *pipe) { int ret; @@ -453,7 +444,6 @@ end: * Returns the fd of the write end of the pipe, or -1 if it was alwritey closed * or released. */ -LTTNG_HIDDEN int lttng_pipe_release_writefd(struct lttng_pipe *pipe) { int ret;