summaryrefslogtreecommitdiff
path: root/log.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-08-19 00:32:20 +1000
committerDamien Miller <djm@mindrot.org>2006-08-19 00:32:20 +1000
commit99a648e59291d3adb39eeee4fa1f8a5b2ee2d769 (patch)
treebbf22dab3de359f05280994845c73c0a15bac9b9 /log.h
parenta1f6840a4fa1fd48ecbf5a3ebb2c3b18f3a6c587 (diff)
- deraadt@cvs.openbsd.org 2006/08/18 09:13:26
[log.c log.h sshd.c] make signal handler termination path shorter; risky code pointed out by mark dowd; ok djm markus
Diffstat (limited to 'log.h')
-rw-r--r--log.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/log.h b/log.h
index a8e788a2d..7a8c57079 100644
--- a/log.h
+++ b/log.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: log.h,v 1.14 2006/08/03 03:34:42 deraadt 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>
@@ -53,6 +53,7 @@ LogLevel log_level_number(char *);
53 53
54void fatal(const char *, ...) __dead __attribute__((format(printf, 1, 2))); 54void fatal(const char *, ...) __dead __attribute__((format(printf, 1, 2)));
55void 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)));
56void logit(const char *, ...) __attribute__((format(printf, 1, 2))); 57void logit(const char *, ...) __attribute__((format(printf, 1, 2)));
57void verbose(const char *, ...) __attribute__((format(printf, 1, 2))); 58void verbose(const char *, ...) __attribute__((format(printf, 1, 2)));
58void debug(const char *, ...) __attribute__((format(printf, 1, 2))); 59void debug(const char *, ...) __attribute__((format(printf, 1, 2)));