daniel has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/33218 )
Change subject: osmo_io: Consistency - put read/recv callback first in osmo_io_ops ......................................................................
osmo_io: Consistency - put read/recv callback first in osmo_io_ops
Change-Id: I70002a83c647854e0f2e30c0f6f82a2b0c63f114 --- M include/osmocom/core/osmo_io.h 1 file changed, 13 insertions(+), 4 deletions(-)
Approvals: pespin: Looks good to me, approved Jenkins Builder: Verified
diff --git a/include/osmocom/core/osmo_io.h b/include/osmocom/core/osmo_io.h index d7402d6..a539c8b 100644 --- a/include/osmocom/core/osmo_io.h +++ b/include/osmocom/core/osmo_io.h @@ -52,14 +52,14 @@
/* mode OSMO_IO_FD_MODE_RECVFROM_SENDTO: */ struct { - /*! call-back function emulating sendto */ - void (*sendto_cb)(struct osmo_io_fd *iofd, int res, - const struct msgb *msg, - const struct osmo_sockaddr *daddr); /*! call-back function emulating recvfrom */ void (*recvfrom_cb)(struct osmo_io_fd *iofd, int res, struct msgb *msg, const struct osmo_sockaddr *saddr); + /*! call-back function emulating sendto */ + void (*sendto_cb)(struct osmo_io_fd *iofd, int res, + const struct msgb *msg, + const struct osmo_sockaddr *daddr); }; }; };