summaryrefslogtreecommitdiff
path: root/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'log.h')
-rw-r--r--log.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/log.h b/log.h
index 2b3c3090f..7a8c57079 100644
--- a/log.h
+++ b/log.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: log.h,v 1.11 2004/06/21 22:02:58 djm Exp $ */ 1/* $OpenBSD: log.h,v 1.15 2006/08/18 09:13:25 deraadt Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -15,8 +15,6 @@
15#ifndef SSH_LOG_H 15#ifndef SSH_LOG_H
16#define SSH_LOG_H 16#define SSH_LOG_H
17 17
18#include <syslog.h> /* Needed for LOG_AUTHPRIV (if present) */
19
20/* Supported syslog facilities and levels. */ 18/* Supported syslog facilities and levels. */
21typedef enum { 19typedef enum {
22 SYSLOG_FACILITY_DAEMON, 20 SYSLOG_FACILITY_DAEMON,
@@ -55,6 +53,7 @@ LogLevel log_level_number(char *);
55 53
56void fatal(const char *, ...) __dead __attribute__((format(printf, 1, 2))); 54void fatal(const char *, ...) __dead __attribute__((format(printf, 1, 2)));
57void error(const char *, ...) __attribute__((format(printf, 1, 2))); 55void error(const char *, ...) __attribute__((format(printf, 1, 2)));
56void sigdie(const char *, ...) __attribute__((format(printf, 1, 2)));
58void logit(const char *, ...) __attribute__((format(printf, 1, 2))); 57void logit(const char *, ...) __attribute__((format(printf, 1, 2)));
59void verbose(const char *, ...) __attribute__((format(printf, 1, 2))); 58void verbose(const char *, ...) __attribute__((format(printf, 1, 2)));
60void debug(const char *, ...) __attribute__((format(printf, 1, 2))); 59void debug(const char *, ...) __attribute__((format(printf, 1, 2)));