introduce pffinddomain(), to find a domain by family. while here, fix some spacing, ansi, de-register, etc.
introduce pffinddomain(), to find a domain by family.
while here, fix some spacing, ansi, de-register, etc.

mostly from netbsd

tested & ok otto millert

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars