Make sigterm_trap() and sighup_trap() static.