misc/bits/syslog.h: Clearly separate declaration from definition
authorFrédéric Bérat <fberat@redhat.com>
Wed, 26 Apr 2023 09:59:08 +0000 (11:59 +0200)
committerFrédéric Bérat <fberat@redhat.com>
Wed, 5 Jul 2023 14:59:48 +0000 (16:59 +0200)
commitba745eff4621d599be3d14d32d490debaef5a117
tree5203d8de5db737d33efc7eba0188c3b6a540fb75
parentd9a99272d21d9602ec7e134169c115aa27d956b6
misc/bits/syslog.h: Clearly separate declaration from definition

This allows to include bits/syslog-decl.h in include/sys/syslog.h and
therefore be able to create the libc_hidden_builtin_proto (__syslog_chk)
prototype.

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
include/bits/syslog-decl.h [new file with mode: 0644]
include/sys/syslog.h
misc/Makefile
misc/bits/syslog-decl.h [new file with mode: 0644]
misc/bits/syslog.h
misc/syslog.c
sysdeps/ieee754/ldbl-128ibm-compat/ieee128-syslog.c