Fix missing void in function declarations