nsswitch: Make two functions static