From 1999007d45ba68626134b078f0b8a09430c58f5d Mon Sep 17 00:00:00 2001 From: Mario Kilies Date: Mon, 24 Jan 2011 14:28:18 +0100 Subject: Added some consts. --- src/net/comm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/comm.h') diff --git a/src/net/comm.h b/src/net/comm.h index b13d034..c7174ff 100644 --- a/src/net/comm.h +++ b/src/net/comm.h @@ -39,7 +39,7 @@ typedef struct } msg_t; // generic network functions -bool net_recv(int sock, msg_type_t wanted); -bool net_send(int sock, const msg_type_t type, void *data); +bool net_recv(const int sock, const msg_type_t wanted); +bool net_send(const int sock, const msg_type_t type, const void *data); #endif // OXEN_NET_H -- cgit v1.2.3