aboutsummaryrefslogtreecommitdiffstats
path: root/man/man2/query_module.2
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2025-06-06 13:27:02 +0200
committerAlejandro Colomar <alx@kernel.org>2025-06-28 16:51:43 +0200
commit8eea66b827a11bc8983da517499cc236c6cd97ba (patch)
treeaef545da6666369425609c27752453f9f9cf45d8 /man/man2/query_module.2
parent6569dd9b22d256f26928ddcc398db9f123546171 (diff)
downloadman-pages-8eea66b827a11bc8983da517499cc236c6cd97ba.tar.gz
man/: SYNOPSIS: Don't highlight forward declarations of function parameters
Previously, many people confused these for actual parameters, since it's hard to distinguish a ',' from ';'. By removing bold/italics from these, it will be easier to distinguish them. The cases have been found with a script: $ find -type f \ | xargs grep -l '^\.TH ' \ | sort \ | xargs mansect SYNOPSIS \ | man /dev/stdin \ | grep -e '^[^ ]' -e '[^ ]( [^ )].*[^)];' \ | less; Reported-by: Mark Naughton <mnaughto@redhat.com> Suggested-by: Mark Harris <mark.hsj@gmail.com> Acked-by: Mark Naughton <mnaughto@redhat.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man2/query_module.2')
-rw-r--r--man/man2/query_module.22
1 files changed, 1 insertions, 1 deletions
diff --git a/man/man2/query_module.2 b/man/man2/query_module.2
index bc4c260d04..9595a5a175 100644
--- a/man/man2/query_module.2
+++ b/man/man2/query_module.2
@@ -10,7 +10,7 @@ query_module \- query the kernel for various bits pertaining to modules
.nf
.B #include <linux/module.h>
.P
-.BI "[[deprecated]] int query_module(size_t " bufsize ;
+.BR "[[deprecated]] int query_module(" "size_t bufsize;"
.BI " const char *" name ", int " which ,
.BI " void " buf [ bufsize "], \
size_t " bufsize ,