added (void) to declaration of 0 arg functions to supress warnings