C style corrections

Added void to explicitly define parametless functions.