summaryrefslogtreecommitdiff
path: root/src/core/network.h
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2017-07-28 18:44:18 +0100
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2017-07-29 23:52:23 +0100
commit939371aa1dfdbf11fe98648e1eafc4c95e80bb9e (patch)
tree5e440667932621863b5f77898d8716675a4c2cdf /src/core/network.h
parent1f57ceec4c4e7c3d42f341921e36fe4aab612e57 (diff)
downloadirssi-939371aa1dfdbf11fe98648e1eafc4c95e80bb9e.zip
Fix warnings.
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
Diffstat (limited to 'src/core/network.h')
-rw-r--r--src/core/network.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/network.h b/src/core/network.h
index 5ccacc0d..d1582a2e 100644
--- a/src/core/network.h
+++ b/src/core/network.h
@@ -36,7 +36,7 @@ GIOChannel *g_io_channel_new(int handle);
/* returns 1 if IPADDRs are the same */
int net_ip_compare(IPADDR *ip1, IPADDR *ip2);
-int net_connect_ip_handle(IPADDR *ip, int port, IPADDR *my_ip);
+int net_connect_ip_handle(const IPADDR *ip, int port, const IPADDR *my_ip);
/* Connect to socket */
GIOChannel *net_connect(const char *addr, int port, IPADDR *my_ip) G_GNUC_DEPRECATED;