Make configure checks able to build with -Werror

Also fix a few compiler warnings, this combined with pull #82 allows me to build
with CFLAGS="-Werror -Wall".
This commit is contained in:
David Leadbeater 2014-07-06 18:56:17 +01:00
commit beec29c305
6 changed files with 13 additions and 11 deletions

View file

@ -60,7 +60,7 @@ GIOChannel *g_io_channel_new(int handle)
IPADDR ip4_any = {
AF_INET,
{ { { INADDR_ANY } } }
{ INADDR_ANY }
};
int net_ip_compare(IPADDR *ip1, IPADDR *ip2)