]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man2/syslog.2: SYNOPSIS: Remove incorrect include
authorAlejandro Colomar <alx@kernel.org>
Mon, 18 Aug 2025 06:39:51 +0000 (08:39 +0200)
committerAlejandro Colomar <alx@kernel.org>
Tue, 19 Aug 2025 11:09:07 +0000 (13:09 +0200)
It doesn't provide any macros, as said later in the page.  The
programmer must either define the macros itself, or use the raw values.

Fixes: e5a173829179 (2021-06-20; "syslog.2: Use syscall(SYS_...); for raw system calls")
Closes: <https://bugzilla.kernel.org/show_bug.cgi?id=220273>
Reported-by: Nathaniel Manista <nathaniel@google.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man2/syslog.2

index ad15f4942f689a66861cf53adc758c0bb95c905f..1b3ba8926b2b6e006c5130ee72dcebe4596e5e02 100644 (file)
@@ -12,7 +12,6 @@ Standard C library
 .RI ( libc ,\~ \-lc )
 .SH SYNOPSIS
 .nf
-.BR "#include <sys/klog.h>" "        /* Definition of " SYSLOG_* " constants */"
 .BR "#include <sys/syscall.h>" "     /* Definition of " SYS_* " constants */"
 .B #include <unistd.h>
 .P