Fix gcc-4.0 compile warnings and errors.
authorMichael Poole <mdpoole@troilus.org>
Tue, 19 Jul 2005 18:18:48 +0000 (18:18 +0000)
committerMichael Poole <mdpoole@troilus.org>
Tue, 19 Jul 2005 18:18:48 +0000 (18:18 +0000)
commite1a4408c83869c52247fd6a9d2acba37bfa86a6d
treeda135f1d3e357b893fda4ca37e460b4520d0ee16
parent635e698a1fe3921355e1472f53ccd5d717037fad
Fix gcc-4.0 compile warnings and errors.

configure.in: Make sure socklen_t is defined.

src/chanserv.c (bad_channel_ban): Make victimCount unsigned.

src/ioset.c (ioset_run): Fifth argument to getsockopt() should be
  socklen_t.

src/ioset.h (clock_skew): Undeclare; it is defined as static.

src/nickserv.c (is_secure_password): Create appropriately typed local
  variable for third argument of dict_find().

src/opserv.c (opserv_bad_channel): Likewise.

src/proto-p10.c (call_oper_funcs): Declare at file scope rather than
  locally to mod_usermode() function.

src/proto.h (dead_users): Undeclare; it is defined as static.

src/saxdb.c (saxdb_write_int): Fix type of string buffer.
git-archimport-id: srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-24
ChangeLog
configure.in
languages/validate.pl [changed mode: 0644->0755]
src/chanserv.c
src/ioset.c
src/ioset.h
src/nickserv.c
src/opserv.c
src/proto-p10.c
src/proto.h
src/saxdb.c