diff options
author | Damien Miller <djm@mindrot.org> | 2006-08-19 00:32:20 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-08-19 00:32:20 +1000 |
commit | 99a648e59291d3adb39eeee4fa1f8a5b2ee2d769 (patch) | |
tree | bbf22dab3de359f05280994845c73c0a15bac9b9 /log.h | |
parent | a1f6840a4fa1fd48ecbf5a3ebb2c3b18f3a6c587 (diff) | |
download | openssh-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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))); |