-/* $OpenBSD: syslog.h,v 1.4 2016/03/21 22:41:28 bluhm Exp $ */
+/* $OpenBSD: syslog.h,v 1.5 2023/04/26 06:52:45 gnezdo Exp $ */
/*
* Copyright (c) 2015 Philip Guenther <guenther@openbsd.org>
*
#include_next <syslog.h>
-int sendsyslog(const char *, __size_t, int);
-PROTO_NORMAL(sendsyslog);
-
__BEGIN_HIDDEN_DECLS
void __vsyslog_r(int, struct syslog_data *, int,
const char *, __va_list);
PROTO_NORMAL(closelog_r);
PROTO_DEPRECATED(openlog);
PROTO_NORMAL(openlog_r);
+PROTO_NORMAL(sendsyslog);
PROTO_DEPRECATED(setlogmask);
PROTO_NORMAL(setlogmask_r);
PROTO_NORMAL(syslog);
-/* $OpenBSD: syslog.h,v 1.17 2020/05/21 01:39:56 visa Exp $ */
+/* $OpenBSD: syslog.h,v 1.18 2023/04/26 06:52:45 gnezdo Exp $ */
/* $NetBSD: syslog.h,v 1.14 1996/04/03 20:46:44 christos Exp $ */
/*
void syslog_r(int, struct syslog_data *, const char *, ...)
__attribute__((__format__(__syslog__,3,4)));
void vsyslog_r(int, struct syslog_data *, const char *, __va_list);
+int sendsyslog(const char *, size_t, int);
__END_DECLS
#else /* !_KERNEL */