Source-Changes-HG archive

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

[src/trunk]: src/share/man/man9 Remove the unnecessary example.



details:   https://anonhg.NetBSD.org/src/rev/8477dfd66d15
branches:  trunk
changeset: 755522:8477dfd66d15
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Tue Jun 08 09:02:55 2010 +0000

description:
Remove the unnecessary example.

diffstat:

 share/man/man9/roundup.9 |  11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)

diffs (25 lines):

diff -r 33976bece540 -r 8477dfd66d15 share/man/man9/roundup.9
--- a/share/man/man9/roundup.9  Tue Jun 08 09:00:51 2010 +0000
+++ b/share/man/man9/roundup.9  Tue Jun 08 09:02:55 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: roundup.9,v 1.2 2010/06/08 09:00:22 jruoho Exp $
+.\" $NetBSD: roundup.9,v 1.3 2010/06/08 09:02:55 jruoho Exp $
 .\"
 .\" Copyright (c) 2010 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -82,15 +82,6 @@
 The behavior is undefined if
 .Fa size
 is 0.
-.Sh EXAMPLES
-.Bd -literal -offset indent
-uint16_t rx;
-
-\&...
-
-/* Round up to 32-bit boundary. */
-rx = roundup2(rx, sizeof(uint32_t));
-.Ed
 .Sh SEE ALSO
 .Xr ilog2 3 ,
 .Xr imax 9



Home | Main Index | Thread Index | Old Index