Add proper license header to discount.c