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

This commit is contained in:
dyoung 2010-08-26 16:42:28 +00:00
parent 563a7b4a6a
commit 99289f936d
1 changed files with 4 additions and 3 deletions

View File

@ -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"