Why have this same function in library

This is probably the same function only with different targets.