Make a declaration consistent with its definition.