upvote
Then why not define "something" as static, which makes the compiler and linker guarantee that you can't do it?
reply
What if I want to internally access it from multiple compilation units, but not necessarily encourage downstream users from using it? This is really common.
reply