[PATCH 06/12] domain_validate.c: make local functions static