]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r236486
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 5 Jun 2012 19:59:02 +0000 (19:59 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 5 Jun 2012 19:59:02 +0000 (19:59 +0000)
commit16cf06fb15f1ab3fbd1952db197e1eeeb4035317
treef4ecfef0cf8aedece9617da461c63d232ceed856
parent68ad1b1b1bc50a2b7b5fcb1fdc0c2a7fa6c8aaa1
MFC: r236486

Add nitems(), a macro for determining the number of elements in a
statically-allocated array.

Obtained from: OpenBSD (in principle)

MFC: r236489

git-svn-id: svn://svn.freebsd.org/base/stable/8@236632 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/iwn/if_iwn.c
sys/sys/param.h