From owner-freebsd-arch@FreeBSD.ORG Sun Feb 8 07:03:05 2009 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F01C31065677 for ; Sun, 8 Feb 2009 07:03:05 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 968E38FC1B for ; Sun, 8 Feb 2009 07:03:05 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id n1871Daf088445 for ; Sun, 8 Feb 2009 00:01:13 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 08 Feb 2009 00:01:15 -0700 (MST) Message-Id: <20090208.000115.-1145158523.imp@bsdimp.com> To: arch@freebsd.org From: "M. Warner Losh" X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: Small syntactic sugar addition to kobj X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2009 07:03:06 -0000 Greetings, I'd like to propose a small syntactic sugar coating for kobj. I'd like to propose: #define KOBJMETHOD_END { NULL, NULL } which can be used in place of the current { 0, 0 } used to end the lists in kobj function lists. Warner