aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2023-06-06 11:34:51 +0200
committerDaniel Willmann <dwillmann@sysmocom.de>2023-06-07 14:32:29 +0200
commit2dd8da6b985e7540158deb649993979401c7d823 (patch)
tree934b9536849b060203a74328d776c8cdf670c291 /include
parent3ada0bd15e39002e58362c73a3af6fc91f58798b (diff)
osmo_io: Consistency - put read/recv callback first in osmo_io_ops
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/core/osmo_io.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/osmocom/core/osmo_io.h b/include/osmocom/core/osmo_io.h
index d7402d6f..a539c8b6 100644
--- a/include/osmocom/core/osmo_io.h
+++ b/include/osmocom/core/osmo_io.h
@@ -52,14 +52,14 @@ struct osmo_io_ops {
/* 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);
};
};
};