Fix a free-standing function's linkage.