Source-Changes-HG archive

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

[src/trunk]: src/share/man/man3 Apparently, you have to #include <sys/param.h...



details:   https://anonhg.NetBSD.org/src/rev/851951190169
branches:  trunk
changeset: 757366:851951190169
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Thu Aug 26 16:42:28 2010 +0000

description:
Apparently, you have to #include <sys/param.h>, too, for MAX().

diffstat:

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

diffs (29 lines):

diff -r b682ddcbe974 -r 851951190169 share/man/man3/bits.3
--- a/share/man/man3/bits.3     Thu Aug 26 16:33:09 2010 +0000
+++ b/share/man/man3/bits.3     Thu Aug 26 16:42:28 2010 +0000
@@ -1,6 +1,6 @@
-.\"    $NetBSD: bits.3,v 1.7 2010/03/22 12:39:22 jruoho Exp $
+.\"    $NetBSD: bits.3,v 1.8 2010/08/26 16:42:28 dyoung Exp $
 .\"
-.\" Copyright (c) 2006 David Young.  All rights reserved.
+.\" Copyright (c) 2006, 2010 David Young.  All rights reserved.
 .\"
 .\" Redistribution and use in source and binary forms, with or
 .\" without modification, are permitted provided that the following
@@ -25,7 +25,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd July 9, 2006
+.Dd August 26, 2010
 .Dt BITS 3
 .Os
 .Sh NAME
@@ -36,6 +36,7 @@
 .Nm __SHIFTOUT_MASK
 .Nd "macros for preparing bitmasks and operating on bit fields"
 .Sh SYNOPSIS
+.In sys/param.h
 .In sys/cdefs.h
 .Ft uint32_t
 .Fn __BIT "n"



Home | Main Index | Thread Index | Old Index