Moved bailout() to avoid 'implicit declaration' warnings.