Module Name:    src
Committed By:   wiz
Date:           Thu Apr 14 06:56:28 UTC 2011

Modified Files:
        src/share/man/man3: __alignof__.3 offsetof.3

Log Message:
No need to use \*[q], use plain double quotes instead.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man3/__alignof__.3 \
    src/share/man/man3/offsetof.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man3/__alignof__.3
diff -u src/share/man/man3/__alignof__.3:1.4 src/share/man/man3/__alignof__.3:1.5
--- src/share/man/man3/__alignof__.3:1.4	Mon Dec 20 19:15:26 2010
+++ src/share/man/man3/__alignof__.3	Thu Apr 14 06:56:28 2011
@@ -1,4 +1,4 @@
-.\" $NetBSD: __alignof__.3,v 1.4 2010/12/20 19:15:26 jruoho Exp $
+.\" $NetBSD: __alignof__.3,v 1.5 2011/04/14 06:56:28 wiz Exp $
 .\"
 .\" Copyright (c) 2010 Jukka Ruohonen <[email protected]>
 .\" All rights reserved.
@@ -61,7 +61,7 @@
 If the architecture aligns integers along 32-bit address boundaries,
 the following should print the value 4.
 .Bd -literal -offset indent
-(void)printf(\*[q]%d\en\*[q], __alignof__(int));
+(void)printf("%d\en", __alignof__(int));
 .Ed
 .Pp
 On the other hand, the following example should print the value 1,
@@ -73,7 +73,7 @@
 	char y;
 } a;
 
-(void)printf(\*[q]%d\en\*[q], __alignof__(a.y));
+(void)printf("%d\en", __alignof__(a.y));
 .Ed
 .Sh SEE ALSO
 .Xr gcc 1 ,
Index: src/share/man/man3/offsetof.3
diff -u src/share/man/man3/offsetof.3:1.4 src/share/man/man3/offsetof.3:1.5
--- src/share/man/man3/offsetof.3:1.4	Fri Apr  1 05:24:37 2011
+++ src/share/man/man3/offsetof.3	Thu Apr 14 06:56:28 2011
@@ -1,4 +1,4 @@
-.\"	$NetBSD: offsetof.3,v 1.4 2011/04/01 05:24:37 jruoho Exp $
+.\"	$NetBSD: offsetof.3,v 1.5 2011/04/14 06:56:28 wiz Exp $
 .\"
 .\"	$OpenBSD: offsetof.3,v 1.2 2010/02/18 18:30:19 jmc Exp $
 .\"
@@ -59,7 +59,7 @@
 y = offsetof(struct example, y);
 z = offsetof(struct example, z);
 
-(void)printf(\*[q]%zu %zu %zu\en\*[q], x, y, z);
+(void)printf("%zu %zu %zu\en", x, y, z);
 .Ed
 .Sh SEE ALSO
 .Xr __alignof__ 3 ,

Reply via email to