whitespace cleanup
whitespace cleanup
possibly missing extern added
variable declarations moved from headers to C files
use smaller buffer for sprintf
do not include unneeded header file