completereduce
completereduce(&have);
completereduce(&want);
static int completereduce(struct unittype * unit);
completereduce(&have));
completereduce(&want));