diff options
Diffstat (limited to 'usr.sbin/smtpd/log.h')
-rw-r--r-- | usr.sbin/smtpd/log.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/smtpd/log.h b/usr.sbin/smtpd/log.h index 8120653cc9e..22bb4164394 100644 --- a/usr.sbin/smtpd/log.h +++ b/usr.sbin/smtpd/log.h @@ -1,7 +1,7 @@ -/* $OpenBSD: log.h,v 1.7 2017/01/09 14:49:22 reyk Exp $ */ +/* $OpenBSD: log.h,v 1.8 2018/04/26 20:57:59 eric Exp $ */ /* - * Copyright (c) 2010 Gilles Chehade <gilles@poolp.org> + * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -16,9 +16,12 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include <syslog.h> +#ifndef LOG_H +#define LOG_H + +#include <stdarg.h> +#include <sys/cdefs.h> -/* log.c */ void log_init(int, int); void log_procinit(const char *); void log_setverbose(int); @@ -40,7 +43,4 @@ __dead void fatal(const char *, ...) __dead void fatalx(const char *, ...) __attribute__((__format__ (printf, 1, 2))); -/* util.c */ -void log_trace_verbose(int); -void log_trace(int, const char *, ...) - __attribute__((format (printf, 2, 3))); +#endif /* LOG_H */ |