Change prototypes to void