Call abort() instead of exit() for convenience when debugging.
Missing extern.