These functions are only used in ignore.c, so make them static.