From 1ec0eb67255ae9b02fd75f98e6ef1282e9de9796 Mon Sep 17 00:00:00 2001 From: christos Date: Thu, 26 Oct 2006 10:18:31 +0000 Subject: [PATCH] remove openlog_r/syslog_r; we now have it. --- usr.sbin/pf/compat_openbsd.h | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/usr.sbin/pf/compat_openbsd.h b/usr.sbin/pf/compat_openbsd.h index 31c180c3fbf0..91d96cc927e2 100644 --- a/usr.sbin/pf/compat_openbsd.h +++ b/usr.sbin/pf/compat_openbsd.h @@ -1,4 +1,4 @@ -/* $NetBSD: compat_openbsd.h,v 1.3 2005/03/15 16:28:29 peter Exp $ */ +/* $NetBSD: compat_openbsd.h,v 1.4 2006/10/26 10:18:31 christos Exp $ */ /*- * Copyright (c)2004 YAMAMOTO Takashi, @@ -32,35 +32,7 @@ #include -/* - * syslog.h - */ - #include -#include - -#define openlog_r(ident, logopt, fac, data) /* nothing */ - -struct syslog_data { -#if !defined(__GNUC__) - /* empty structure is gcc extension */ - char dummy; -#endif -}; -#define SYSLOG_DATA_INIT {} - -static __inline void syslog_r(int pri, struct syslog_data *data, - const char *fmt, ...) __unused; - -static __inline void -syslog_r(int pri, struct syslog_data *data, const char *fmt, ...) -{ - va_list ap; - - va_start(ap, fmt); - vsyslog(pri, fmt, ap); - va_end(ap); -} /* * sys/queue.h