From owner-freebsd-arch Wed May 29 13:16:48 2002 Delivered-To: freebsd-arch@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id 2F06437B406 for ; Wed, 29 May 2002 13:16:44 -0700 (PDT) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.3/8.12.2) with ESMTP id g4TKFcKu010947 for ; Wed, 29 May 2002 22:15:38 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: arch@freebsd.org Subject: CRC32 derived questions... From: Poul-Henning Kamp Date: Wed, 29 May 2002 22:15:38 +0200 Message-ID: <10946.1022703338@critter.freebsd.dk> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I noticed that Marcel put a crc32 function in geom_gpt, and wondered if we didn't have one some other place already. Sure enough, we did. In if_wi.c. And in libz. And in if_sbni.c (in assembler even). Then I tried to put one copy in libkern but ran into conflicts with zlib.h. And that made me wonder: Why on earth is sys/zlib.h in net/zlib.h ??? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message