Module Name: src
Committed By: jruoho
Date: Mon Mar 1 17:06:18 UTC 2010
Modified Files:
src/share/man/man3: __arraycount.3
Log Message:
Use buf[BUFSIZE] instead of *buf[BUFSIZE] in the example.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/share/man/man3/__arraycount.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/__arraycount.3
diff -u src/share/man/man3/__arraycount.3:1.1 src/share/man/man3/__arraycount.3:1.2
--- src/share/man/man3/__arraycount.3:1.1 Mon Mar 1 16:02:34 2010
+++ src/share/man/man3/__arraycount.3 Mon Mar 1 17:06:18 2010
@@ -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;
\&...