misc: syslog: Move SYSLOG_NAME to USE_MISC (BZ #16355)
commitcac6b54ae2e99013d472ce548405886d301c73e4
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Sun, 11 Apr 2021 03:04:01 +0000 (11 00:04 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 15 Apr 2022 13:41:54 +0000 (15 10:41 -0300)
tree98947eace99c3bcffba4544a414e6f3ad6d38ecf
parenta583b6add407c17cdcd4146be3876061a5e1d555
misc: syslog: Move SYSLOG_NAME to USE_MISC (BZ #16355)

There is no easy solution as described on first comment in bug report,
and some code (like busybox) assumes facilitynames existance when
SYSLOG_NAMES is defined (so we can't just remove it as suggested in
comment #2).

So use the easier solution and guard it with __USE_MISC.
misc/sys/syslog.h