tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Getting rid of standard boiler plate in kernel man pages CODE REFERENCES



Hi Iain!

> I'm not sure what you are proposing.. can you show an example diff (eg
> using bluetooth.9) ?

Sure, attached.
 Thomas
Index: bluetooth.9
===================================================================
RCS file: /cvsroot/src/share/man/man9/bluetooth.9,v
retrieving revision 1.4
diff -u -r1.4 bluetooth.9
--- bluetooth.9 2 Dec 2007 20:03:11 -0000       1.4
+++ bluetooth.9 8 Nov 2010 09:33:42 -0000
@@ -348,13 +348,6 @@
 .Ar ref .
 .El
 .Sh CODE REFERENCES
-This section describes places in the
-.Nx
-source tree where actual code implementing or using the
-Bluetooth Protocol Stack can be found.
-All pathnames are relative to
-.Pa /usr/src .
-.Pp
 The Bluetooth Protocol Stack is contained in the
 .Pa sys/netbt
 directory.
Index: intro.9
===================================================================
RCS file: /cvsroot/src/share/man/man9/intro.9,v
retrieving revision 1.13
diff -u -r1.13 intro.9
--- intro.9     15 Apr 2010 08:40:46 -0000      1.13
+++ intro.9     8 Nov 2010 09:33:42 -0000
@@ -45,6 +45,8 @@
 .It "CODE REFERENCES"
 Contains the pathname(s) of the source file(s) which contain the definition
 and/or source code of the variables or functions being documented.
+Any paths are relative to
+.Pa /usr/src .
 .El
 .Sh MEMORY MANAGEMENT
 Machine-dependent swap interface.


Home | Main Index | Thread Index | Old Index