Make xtoi() extern so it can be used in pcrs.c.