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)
downloadopenssh-git-99a648e59291d3adb39eeee4fa1f8a5b2ee2d769.tar.gz
- 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 a8e788a2..7a8c5707 100644
--- a/log.h
+++ b/log.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.h,v 1.14 2006/08/03 03:34:42 deraadt Exp $ */
+/* $OpenBSD: log.h,v 1.15 2006/08/18 09:13:25 deraadt Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -53,6 +53,7 @@ LogLevel log_level_number(char *);
void fatal(const char *, ...) __dead __attribute__((format(printf, 1, 2)));
void error(const char *, ...) __attribute__((format(printf, 1, 2)));
+void sigdie(const char *, ...) __attribute__((format(printf, 1, 2)));
void logit(const char *, ...) __attribute__((format(printf, 1, 2)));
void verbose(const char *, ...) __attribute__((format(printf, 1, 2)));
void debug(const char *, ...) __attribute__((format(printf, 1, 2)));