ANSI and 64-bit related cleanup - prototypes
authorMatthew Mondor <mmondor@pulsar-zone.net>
Sat, 27 Aug 2016 14:36:00 +0000 (14:36 +0000)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Sat, 27 Aug 2016 14:36:00 +0000 (14:36 +0000)
commit8b557db230fabc460e55fa0186e05179825b5704
treee9dbab810b5be1d1d8e6f1c95a7a657f377f2869
parent6060899bf4591edc25a227575d76ac5c1d0e6f9f
ANSI and 64-bit related cleanup - prototypes

Compiled with -Werror=missing-prototypes and
-Werror=implicit-function-declaration.  Fixed all cases so it builds
again.  Hopefully fixes cases of implicit pointers cased to int
where on x86_64 this results in half-pointers, a common cause of
segmentation faults.

This involved writing prototypes and making static many functions
which weren't, moving to header files external function prototypes,
including the proper header files in the code, etc.
66 files changed:
TODO
include/blalloc.h
include/common.h
include/confparse.h
include/dh.h
include/fds.h
include/find.h
include/h.h
include/hash.h
include/hooks.h
include/ircsprintf.h
include/list.h [new file with mode: 0644]
include/msg.h
include/rc4.h [new file with mode: 0644]
include/sbuf.h
include/send.h
include/socketengine.h [new file with mode: 0644]
include/struct.h
include/structfunc.h
include/sys.h
include/throttle.h
include/userban.h
include/whowas.h
include/zlink.h
src/blalloc.c
src/bsd.c
src/channel.c
src/clientlist.c
src/confparse.c
src/fds.c
src/hash.c
src/hide.c
src/ircd.c
src/ircsprintf.c
src/list.c
src/m_nick.c
src/m_rwho.c
src/m_server.c
src/m_services.c
src/m_stats.c
src/m_who.c
src/match.c
src/modules.c
src/packet.c
src/parse.c
src/rc4.c
src/res.c
src/s_bsd.c
src/s_conf.c
src/s_misc.c
src/s_serv.c
src/s_user.c
src/sbuf.c
src/send.c
src/socketengine_devpoll.c
src/socketengine_epoll.c
src/socketengine_kqueue.c
src/socketengine_poll.c
src/socketengine_select.c
src/support.c
src/throttle.c
src/userban.c
src/whowas.c
src/zlink.c
tools/Makefile.in
tools/convert_conf.c