pespin has uploaded this change for review. ( 
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(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/15/41915/1

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);

--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/41915?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I6671380ad071e23445c3e38c0b9700af66998af1
Gerrit-Change-Number: 41915
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>

Reply via email to