fd: Make two functions static.