fixed parameterless prototypes according to C99 (adding void everywhere)