path: root/include/osmocom
diff options
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2017-04-10 16:53:32 +0800
committerHolger Freyther <holger@freyther.de>2017-04-29 11:56:14 +0000
commit4e93766a4bcdfc69869f635cc99e7301ba0ac43b (patch)
tree635f2ada534782550716c0df4842dd524ff2e13c /include/osmocom
parenta18caad5fd6131b1d8474154e7fefd9c462485bd (diff)
misc: Call the variable ctx like in all other places
We couldn't figure out what "crx" as supposed to mean and assume it is a typo. Fix the code and call it ctx, this is fixing the API documentation as well. Change-Id: I27ed1178fdbbcf3fc0e1070dc19b4ecf9a327a04
Diffstat (limited to 'include/osmocom')
1 files changed, 3 insertions, 3 deletions
diff --git a/include/osmocom/netif/datagram.h b/include/osmocom/netif/datagram.h
index b7ecfe3..a0ff7b4 100644
--- a/include/osmocom/netif/datagram.h
+++ b/include/osmocom/netif/datagram.h
@@ -3,7 +3,7 @@
struct osmo_dgram_tx;
-struct osmo_dgram_tx *osmo_dgram_tx_create(void *crx);
+struct osmo_dgram_tx *osmo_dgram_tx_create(void *ctx);
void osmo_dgram_tx_destroy(struct osmo_dgram_tx *conn);
void osmo_dgram_tx_set_addr(struct osmo_dgram_tx *conn, const char *addr);
@@ -19,7 +19,7 @@ void osmo_dgram_tx_send(struct osmo_dgram_tx *conn, struct msgb *msg);
struct osmo_dgram_rx;
-struct osmo_dgram_rx *osmo_dgram_rx_create(void *crx);
+struct osmo_dgram_rx *osmo_dgram_rx_create(void *ctx);
void osmo_dgram_rx_set_addr(struct osmo_dgram_rx *conn, const char *addr);
void osmo_dgram_rx_set_port(struct osmo_dgram_rx *conn, uint16_t port);
@@ -33,7 +33,7 @@ int osmo_dgram_rx_recv(struct osmo_dgram_rx *conn, struct msgb *msg);
struct osmo_dgram;
-struct osmo_dgram *osmo_dgram_create(void *crx);
+struct osmo_dgram *osmo_dgram_create(void *ctx);
void osmo_dgram_destroy(struct osmo_dgram *conn);
int osmo_dgram_open(struct osmo_dgram *conn);