Module Name: src
Committed By: dyoung
Date: Thu Aug 26 16:42:28 UTC 2010
Modified Files:
src/share/man/man3: bits.3
Log Message:
Apparently, you have to #include <sys/param.h>, too, for MAX().
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/share/man/man3/bits.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/bits.3
diff -u src/share/man/man3/bits.3:1.7 src/share/man/man3/bits.3:1.8
--- src/share/man/man3/bits.3:1.7 Mon Mar 22 12:39:22 2010
+++ src/share/man/man3/bits.3 Thu Aug 26 16:42:28 2010
@@ -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"