diff options
author | Will Storey <will@summercat.com> | 2017-10-13 18:30:57 -0700 |
---|---|---|
committer | Will Storey <will@summercat.com> | 2017-10-13 18:30:57 -0700 |
commit | 233be9f580290ff3efa66e6256e46303b01781da (patch) | |
tree | 90170f73882fdf166d2210b548f80476e09c4db0 /src | |
parent | da59fd7c2dd0641f623db2c67a244ddca3013d65 (diff) | |
download | irssi-233be9f580290ff3efa66e6256e46303b01781da.zip |
Mark net_ip_compare() deprecated
Diffstat (limited to 'src')
-rw-r--r-- | src/core/network.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/network.h b/src/core/network.h index 84f3a56c..e60f607f 100644 --- a/src/core/network.h +++ b/src/core/network.h @@ -33,8 +33,9 @@ extern IPADDR ip4_any; GIOChannel *g_io_channel_new(int handle); -/* returns 1 if IPADDRs are the same */ -int net_ip_compare(IPADDR *ip1, IPADDR *ip2); +/* Returns 1 if IPADDRs are the same. */ +/* Deprecated since it is unused. It will be deleted in a later release. */ +int net_ip_compare(IPADDR *ip1, IPADDR *ip2) G_GNUC_DEPRECATED; int net_connect_ip_handle(const IPADDR *ip, int port, const IPADDR *my_ip); |