summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorGreg Steuck <gnezdo@cvs.openbsd.org>2023-04-26 06:52:46 +0000
committerGreg Steuck <gnezdo@cvs.openbsd.org>2023-04-26 06:52:46 +0000
commitfade9c51acd9fad6e1fffa15137350a1f0c8ce54 (patch)
tree81d9a1cc1b48ec37b0523be77c60ae990e7efc2c /lib/libc
parent65813f89835114b94a42e5fa40e1c9a13d96d7d7 (diff)
Declare sendsyslog to match its man page
This simplifies syzkaller revival after the removal of __syscall. OK bluhm, millert, deraadt
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/hidden/syslog.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/hidden/syslog.h b/lib/libc/hidden/syslog.h
index d0c3ae9ea1c..387a92a4dcb 100644
--- a/lib/libc/hidden/syslog.h
+++ b/lib/libc/hidden/syslog.h
@@ -1,4 +1,4 @@
-/* $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>
*
@@ -20,9 +20,6 @@
#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);
@@ -32,6 +29,7 @@ PROTO_DEPRECATED(closelog);
PROTO_NORMAL(closelog_r);
PROTO_DEPRECATED(openlog);
PROTO_NORMAL(openlog_r);
+PROTO_NORMAL(sendsyslog);
PROTO_DEPRECATED(setlogmask);
PROTO_NORMAL(setlogmask_r);
PROTO_NORMAL(syslog);