ANSI'fy, make some arguments a little more type safe.
ANSI'fy and convert to be a bit more type safe.
ANSI'fy and move static declarations from header to .c file.
ANSI'fy.
ANSI'fy and make a little more type safe.
Remove redundant include.
ANSI'fy. Added several comments noting casts to generic events that may be suspect.