Source-Changes-HG archive

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

[src/trunk]: src/share/man/man3 Use buf[BUFSIZE] instead of *buf[BUFSIZE] in ...



details:   https://anonhg.NetBSD.org/src/rev/32e9d4573816
branches:  trunk
changeset: 752576:32e9d4573816
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Mon Mar 01 17:06:18 2010 +0000

description:
Use buf[BUFSIZE] instead of *buf[BUFSIZE] in the example.

diffstat:

 share/man/man3/__arraycount.3 |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r bda204b5dda8 -r 32e9d4573816 share/man/man3/__arraycount.3
--- a/share/man/man3/__arraycount.3     Mon Mar 01 16:52:41 2010 +0000
+++ b/share/man/man3/__arraycount.3     Mon Mar 01 17:06:18 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: __arraycount.3,v 1.1 2010/03/01 16:02:34 jruoho Exp $
+.\" $NetBSD: __arraycount.3,v 1.2 2010/03/01 17:06:18 jruoho Exp $
 .\"
 .\" Copyright (c) 2010 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -45,7 +45,7 @@
 The following example demonstrates a possible usage of
 .Fn __arraycount :
 .Bd -literal -offset indent
-uint8_t *buf[BUFSIZE];
+uint8_t buf[BUFSIZE];
 size_t i;
 
 \&...



Home | Main Index | Thread Index | Old Index