minor edits to c files