From owner-freebsd-hackers@FreeBSD.ORG Fri Nov 4 04:41:46 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 216E216A41F for ; Fri, 4 Nov 2005 04:41:46 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA8AB43D45 for ; Fri, 4 Nov 2005 04:41:45 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.3/8.13.3) with ESMTP id jA44ekll017475; Thu, 3 Nov 2005 21:40:46 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Thu, 03 Nov 2005 21:41:04 -0700 (MST) Message-Id: <20051103.214104.62371333.imp@bsdimp.com> To: V.Haisman@sh.cvut.cz From: "M. Warner Losh" In-Reply-To: <436A7474.4040501@sh.cvut.cz> References: <436A7474.4040501@sh.cvut.cz> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Thu, 03 Nov 2005 21:40:46 -0700 (MST) Cc: freebsd-hackers@freebsd.org Subject: Re: Kernel source hacking X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2005 04:41:46 -0000 In message: <436A7474.4040501@sh.cvut.cz> V=E1clav Haisman writes: : I have noticed that there are still places in kernel sources that use= : K&R style of function parameter definitions. You must be looking at old sources. Most of the kernel has been converted, but it is still a work in progress. There's very little gain for the risk that something subtle that's different between K&R and ANSI causes breakage... The risk is much lower these days since we insist on proper prototypes... : Are the core developers interested in changing it into proper ANSI : definitions? I would do it because it would give me a reason to read = the : code and learn something about the kernel. Nearly all of the kernel has been converted. The parts that remain are the less widely travelled paths through the code. : Also, is there a page with other tasks for kernel neophytes like me? = I : looked for some such page but I couldn't find any. phk used to have a /jkh/ page, or Junior Kernel Hacker page. Don't know if that's still that way or not. Warner