From owner-freebsd-net@FreeBSD.ORG Wed Oct 11 09:19:26 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD63116A415; Wed, 11 Oct 2006 09:19:26 +0000 (UTC) (envelope-from dunstan@freebsd.czest.pl) Received: from freebsd.czest.pl (freebsd.czest.pl [80.48.250.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 560DB43D5C; Wed, 11 Oct 2006 09:19:23 +0000 (GMT) (envelope-from dunstan@freebsd.czest.pl) Received: from laptop.freebsd.czest.pl (v243.wat.edu.pl [148.81.117.243]) by freebsd.czest.pl (8.13.4/8.12.9) with ESMTP id k9B9f771014718; Wed, 11 Oct 2006 09:41:09 GMT (envelope-from dunstan@freebsd.czest.pl) Received: from laptop.freebsd.czest.pl (localhost [127.0.0.1]) by laptop.freebsd.czest.pl (8.13.7/8.13.7) with ESMTP id k9B92h4W002924; Wed, 11 Oct 2006 11:02:48 +0200 (CEST) (envelope-from dunstan@laptop.freebsd.czest.pl) Received: (from dunstan@localhost) by laptop.freebsd.czest.pl (8.13.7/8.13.4/Submit) id k9B92gDI002923; Wed, 11 Oct 2006 11:02:42 +0200 (CEST) (envelope-from dunstan) Date: Wed, 11 Oct 2006 11:02:41 +0200 From: "Wojciech A. Koszek" To: freebsd-net@freebsd.org Message-ID: <20061011090241.GA2831@FreeBSD.czest.pl> Mail-Followup-To: freebsd-net@freebsd.org, andre@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline User-Agent: Mutt/1.5.11 X-Greylist: Delayed for 00:16:24 by milter-greylist-2.0.2 (freebsd.czest.pl [80.48.250.4]); Wed, 11 Oct 2006 09:41:10 +0000 (UTC) Cc: andre@freebsd.org Subject: [PATCH] Make hash.h usable in the kernel X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2006 09:19:26 -0000 Hello, I'm working on potential consumer of functions from sys/hash.h. Currently, I can't make them work without modyfication in my sample KLD. This is a patch which fixes the problem: http://people.freebsd.org/~wkoszek/patches/hash.h.0.patch It makes following program.. http://people.freebsd.org/~wkoszek/hash.c ..compile without warnings with WARNS=5. If noone objects, I'd like to commit it. Thanks, -- Wojciech A. Koszek wkoszek@FreeBSD.org http://FreeBSD.czest.pl/dunstan/