mountd: Make local functions static