summaryrefslogtreecommitdiffstats
path: root/hicn-light/src/hicn/io/tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'hicn-light/src/hicn/io/tcp.c')
-rw-r--r--hicn-light/src/hicn/io/tcp.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/hicn-light/src/hicn/io/tcp.c b/hicn-light/src/hicn/io/tcp.c
index 69ad32d16..50591c3fc 100644
--- a/hicn-light/src/hicn/io/tcp.c
+++ b/hicn-light/src/hicn/io/tcp.c
@@ -287,9 +287,7 @@ connection_tcp_sendv(connnection_t * connection, struct iovec * iov,
}
#endif
-static bool connection_tcp_flush(const connection_t *connection) {
- return true;
-}
+static bool connection_tcp_flush(connection_t *connection) { return true; }
/**
* @function streamConnection_Send
@@ -303,8 +301,8 @@ static bool connection_tcp_flush(const connection_t *connection) {
*/
// XXX address not used anywhere
// XXX too much repeated code with sendv here
-static bool connection_tcp_send(const connection_t *connection,
- msgbuf_t *msgbuf, bool queue) {
+static bool connection_tcp_send(connection_t *connection, msgbuf_t *msgbuf,
+ bool queue) {
assert(connection);
assert(msgbuf);