Corrected prototypes func() ->func(void).