From owner-cvs-all Fri Jul 30 0: 6:55 1999 Delivered-To: cvs-all@freebsd.org Received: from dingo.cdrom.com (castles548.castles.com [208.214.165.112]) by hub.freebsd.org (Postfix) with ESMTP id A068414BFE; Fri, 30 Jul 1999 00:06:50 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id AAA00781; Fri, 30 Jul 1999 00:01:21 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199907300701.AAA00781@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Bruce Evans Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet ip_fw.c In-reply-to: Your message of "Fri, 30 Jul 1999 11:17:37 +1000." <199907300117.LAA09942@godzilla.zeta.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 30 Jul 1999 00:01:21 -0700 From: Mike Smith Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > >> > > 8 -> NBBy > >> > "number of bits by byte"? > >> Yep, that's exactly what it is. NBBY is much preferred to hardcoding 8 :) > > > >BITS_PER_BYTE is much preferred to NBBY. > > You mean "Standard C's CHAR_BIT is much preferred to NBBy" when the number > of bits in a byte is actually wanted. CHAR_BIT is ambiguous (it implies bits-per-character). NBBY is needlessly short (it sounds like a BSDism). BITS_PER_MACHINE_BYTE is probably as good a name as any. My word games for the day. -- \\ The mind's the standard \\ Mike Smith \\ of the man. \\ msmith@freebsd.org \\ -- Joseph Merrick \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message