diff options
author | Colin Watson <cjwatson@debian.org> | 2009-12-29 21:38:40 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2009-12-29 21:38:40 +0000 |
commit | 1b816ea846aca3ee89e7995373ace609e9518424 (patch) | |
tree | b41cdc8495cae7fa9c2e0f98a5f2e71656b61f9a /log.h | |
parent | fa585019a79ebcb4e0202b1c33f87ff1c5c9ce1c (diff) | |
parent | 086ea76990b1e6287c24b6db74adffd4605eb3b0 (diff) |
import openssh-4.6p1-gsskex-20070312.patch
Diffstat (limited to 'log.h')
-rw-r--r-- | log.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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. */ |
21 | typedef enum { | 19 | typedef enum { |
22 | SYSLOG_FACILITY_DAEMON, | 20 | SYSLOG_FACILITY_DAEMON, |
@@ -55,6 +53,7 @@ LogLevel log_level_number(char *); | |||
55 | 53 | ||
56 | void fatal(const char *, ...) __dead __attribute__((format(printf, 1, 2))); | 54 | void fatal(const char *, ...) __dead __attribute__((format(printf, 1, 2))); |
57 | void error(const char *, ...) __attribute__((format(printf, 1, 2))); | 55 | void error(const char *, ...) __attribute__((format(printf, 1, 2))); |
56 | void sigdie(const char *, ...) __attribute__((format(printf, 1, 2))); | ||
58 | void logit(const char *, ...) __attribute__((format(printf, 1, 2))); | 57 | void logit(const char *, ...) __attribute__((format(printf, 1, 2))); |
59 | void verbose(const char *, ...) __attribute__((format(printf, 1, 2))); | 58 | void verbose(const char *, ...) __attribute__((format(printf, 1, 2))); |
60 | void debug(const char *, ...) __attribute__((format(printf, 1, 2))); | 59 | void debug(const char *, ...) __attribute__((format(printf, 1, 2))); |