=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/log.c,v retrieving revision 1.29.10.1 retrieving revision 1.30 diff -u -r1.29.10.1 -r1.30 --- src/usr.bin/ssh/log.c 2006/09/30 04:06:50 1.29.10.1 +++ src/usr.bin/ssh/log.c 2006/03/19 18:51:18 1.30 @@ -1,4 +1,3 @@ -/* $OpenBSD: log.c,v 1.29.10.1 2006/09/30 04:06:50 brad Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -34,19 +33,14 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include +#include "includes.h" -#include -#include -#include -#include +#include "log.h" +#include "xmalloc.h" + #include -#include #include -#include "xmalloc.h" -#include "log.h" - static LogLevel log_level = SYSLOG_LEVEL_INFO; static int log_on_stderr = 1; static int log_facility = LOG_AUTH; @@ -126,18 +120,6 @@ do_log(SYSLOG_LEVEL_ERROR, fmt, args); va_end(args); } - -void -sigdie(const char *fmt,...) -{ - va_list args; - - va_start(args, fmt); - do_log(SYSLOG_LEVEL_FATAL, fmt, args); - va_end(args); - _exit(1); -} - /* Log this message (information that usually should go to the log). */