pespin has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/41915?usp=email )
Change subject: osmo_io: Make iofd_handle_segmented_read() static ......................................................................
osmo_io: Make iofd_handle_segmented_read() static
Change-Id: I6671380ad071e23445c3e38c0b9700af66998af1 --- M src/core/osmo_io.c M src/core/osmo_io_internal.h 2 files changed, 1 insertion(+), 2 deletions(-)
Approvals: fixeria: Looks good to me, approved laforge: Looks good to me, but someone else must approve Jenkins Builder: Verified
diff --git a/src/core/osmo_io.c b/src/core/osmo_io.c index 1a55ff1..41730b4 100644 --- a/src/core/osmo_io.c +++ b/src/core/osmo_io.c @@ -359,7 +359,7 @@
/*! Restore message boundaries on read() and pass individual messages to the read callback */ -void iofd_handle_segmented_read(struct osmo_io_fd *iofd, struct msgb *msg, int rc) +static void iofd_handle_segmented_read(struct osmo_io_fd *iofd, struct msgb *msg, int rc) { int res; struct msgb *pending; diff --git a/src/core/osmo_io_internal.h b/src/core/osmo_io_internal.h index f425da2..7c419d1 100644 --- a/src/core/osmo_io_internal.h +++ b/src/core/osmo_io_internal.h @@ -189,7 +189,6 @@
void iofd_handle_recv(struct osmo_io_fd *iofd, struct msgb *msg, int rc, struct iofd_msghdr *msghdr); void iofd_handle_send_completion(struct osmo_io_fd *iofd, int rc, struct iofd_msghdr *msghdr); -void iofd_handle_segmented_read(struct osmo_io_fd *iofd, struct msgb *msg, int rc);
int iofd_txqueue_enqueue(struct osmo_io_fd *iofd, struct iofd_msghdr *msghdr); void iofd_txqueue_enqueue_front(struct osmo_io_fd *iofd, struct iofd_msghdr *msghdr);