Fixed missing declarations in driver.c