linux-nat.c (linux_nat_wait_1): Make local prev_mask non-static.