Deleted Added
full compact
log.h (126277) log.h (137019)
1/* $OpenBSD: log.h,v 1.10 2003/09/23 20:17:11 markus Exp $ */
2/* $FreeBSD: head/crypto/openssh/log.h 126277 2004-02-26 10:52:33Z des $ */
1/* $OpenBSD: log.h,v 1.11 2004/06/21 22:02:58 djm Exp $ */
2/* $FreeBSD: head/crypto/openssh/log.h 137019 2004-10-28 16:11:31Z des $ */
3
4/*
5 * Author: Tatu Ylonen <ylo@cs.hut.fi>
6 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
7 * All rights reserved
8 *
9 * As far as I am concerned, the code I have written for this software
10 * can be used freely for any purpose. Any derived versions of this

--- 46 unchanged lines hidden (view full) ---

57#define fatal ssh_fatal
58#define error ssh_error
59#define logit ssh_logit
60#define verbose ssh_verbose
61#define debug ssh_debug
62#define debug2 ssh_debug2
63#define debug3 ssh_debug3
64
3
4/*
5 * Author: Tatu Ylonen <ylo@cs.hut.fi>
6 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
7 * All rights reserved
8 *
9 * As far as I am concerned, the code I have written for this software
10 * can be used freely for any purpose. Any derived versions of this

--- 46 unchanged lines hidden (view full) ---

57#define fatal ssh_fatal
58#define error ssh_error
59#define logit ssh_logit
60#define verbose ssh_verbose
61#define debug ssh_debug
62#define debug2 ssh_debug2
63#define debug3 ssh_debug3
64
65void fatal(const char *, ...) __attribute__((format(printf, 1, 2)));
65void fatal(const char *, ...) __dead __attribute__((format(printf, 1, 2)));
66void error(const char *, ...) __attribute__((format(printf, 1, 2)));
67void logit(const char *, ...) __attribute__((format(printf, 1, 2)));
68void verbose(const char *, ...) __attribute__((format(printf, 1, 2)));
69void debug(const char *, ...) __attribute__((format(printf, 1, 2)));
70void debug2(const char *, ...) __attribute__((format(printf, 1, 2)));
71void debug3(const char *, ...) __attribute__((format(printf, 1, 2)));
72
73void do_log(LogLevel, const char *, va_list);
66void error(const char *, ...) __attribute__((format(printf, 1, 2)));
67void logit(const char *, ...) __attribute__((format(printf, 1, 2)));
68void verbose(const char *, ...) __attribute__((format(printf, 1, 2)));
69void debug(const char *, ...) __attribute__((format(printf, 1, 2)));
70void debug2(const char *, ...) __attribute__((format(printf, 1, 2)));
71void debug3(const char *, ...) __attribute__((format(printf, 1, 2)));
72
73void do_log(LogLevel, const char *, va_list);
74void cleanup_exit(int);
74void cleanup_exit(int) __dead;
75#endif
75#endif