Source-Changes-HG archive

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

[src/trunk]: src/share/man/man3 No need to use \*[q], use plain double quotes...



details:   https://anonhg.NetBSD.org/src/rev/ae40794e019f
branches:  trunk
changeset: 764233:ae40794e019f
user:      wiz <wiz%NetBSD.org@localhost>
date:      Thu Apr 14 06:56:28 2011 +0000

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

diffstat:

 share/man/man3/__alignof__.3 |  6 +++---
 share/man/man3/offsetof.3    |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r f49efbf486fb -r ae40794e019f share/man/man3/__alignof__.3
--- a/share/man/man3/__alignof__.3      Thu Apr 14 06:54:57 2011 +0000
+++ b/share/man/man3/__alignof__.3      Thu Apr 14 06:56:28 2011 +0000
@@ -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 <jruohonen%iki.fi@localhost>
 .\" 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 ,
diff -r f49efbf486fb -r ae40794e019f share/man/man3/offsetof.3
--- a/share/man/man3/offsetof.3 Thu Apr 14 06:54:57 2011 +0000
+++ b/share/man/man3/offsetof.3 Thu Apr 14 06:56:28 2011 +0000
@@ -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 ,



Home | Main Index | Thread Index | Old Index