Make all functions, not just foreign ABI ones, link with external linkage if they are publically visible.