dd_getopts.c variables reset and declared in one pass