Catches multiple definitions of same function error