summaryrefslogtreecommitdiff
path: root/share/man/man9/style.9
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-06-29 13:26:05 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-06-29 13:26:05 +0000
commitf968e7d30a63b2671f937953d0ddb2590643e1a0 (patch)
treed84ffda8d6de1da8c1e974dfa01741413a4c6ce6 /share/man/man9/style.9
parent96c2d326c18f80331dbbf425760d2d7ab6bdfc99 (diff)
swap .Pa Aq -> .Aq Pa to make both macros expand;
Diffstat (limited to 'share/man/man9/style.9')
-rw-r--r--share/man/man9/style.914
1 files changed, 7 insertions, 7 deletions
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9
index ed828aa4ae0..fd28de3848c 100644
--- a/share/man/man9/style.9
+++ b/share/man/man9/style.9
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: style.9,v 1.32 2003/04/20 20:04:17 jmc Exp $
+.\" $OpenBSD: style.9,v 1.33 2003/06/29 13:26:04 jmc Exp $
.\"
.Dd June 18, 2001
.Dt STYLE 9
@@ -59,15 +59,15 @@ current style guidelines.
.Ed
.Pp
Kernel include files (i.e.,
-.Pa Aq sys/*.h )
+.Aq Pa sys/*.h )
come first; normally, you'll need
-.Pa Aq sys/types.h
+.Aq Pa sys/types.h
OR
-.Pa Aq sys/param.h ,
+.Aq Pa sys/param.h ,
but not both!
-.Pa Aq sys/types.h
+.Aq Pa sys/types.h
includes
-.Pa Aq sys/cdefs.h ,
+.Aq Pa sys/cdefs.h ,
and it's okay to depend on that.
.Bd -literal -offset 0i
#include <sys/types.h> /* Non-local includes in brackets. */
@@ -151,7 +151,7 @@ There should be no space between the function name and the argument list.
Use
.Li __dead
from
-.Pa Aq sys/cdefs.h
+.Aq Pa sys/cdefs.h
for functions that don't return, i.e.,
.Bd -literal -offset 0i
__dead void abort(void);