From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 14 11:49:03 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 9E55616A41C for ; Thu, 14 Jul 2005 11:49:03 +0000 (GMT) (envelope-from keramida@freebsd.org) Received: from rosebud.otenet.gr (rosebud.otenet.gr [195.170.0.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id D646A43D45 for ; Thu, 14 Jul 2005 11:49:02 +0000 (GMT) (envelope-from keramida@freebsd.org) Received: from beatrix.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226]) by rosebud.otenet.gr (8.13.4/8.13.4/Debian-1) with SMTP id j6EBmmeX029152; Thu, 14 Jul 2005 14:48:48 +0300 Received: from beatrix.daedalusnetworks.priv (localhost [127.0.0.1]) by beatrix.daedalusnetworks.priv (8.13.3+Sun/8.13.3) with ESMTP id j6EBmleg027091; Thu, 14 Jul 2005 14:48:47 +0300 (EEST) Received: (from keramida@localhost) by beatrix.daedalusnetworks.priv (8.13.3+Sun/8.13.3/Submit) id j6EBmiMt027090; Thu, 14 Jul 2005 14:48:44 +0300 (EEST) X-Authentication-Warning: beatrix.daedalusnetworks.priv: keramida set sender to keramida@freebsd.org using -f Date: Thu, 14 Jul 2005 14:48:44 +0300 From: Giorgos Keramidas To: "M. Warner Losh" Message-ID: <20050714114844.GD26821@beatrix.daedalusnetworks.priv> References: <20050712221444.GA1180@gothmog.gr> <42D56C15.2070400@errno.com> <20050713210941.GA841@gothmog.gr> <20050714.002247.82101613.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050714.002247.82101613.imp@bsdimp.com> Cc: sam@errno.com, freebsd-hackers@freebsd.org, flz@xbsd.org Subject: Re: SIMPLEQ_* macros from OpenBSD sys/queue.h 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: Thu, 14 Jul 2005 11:49:03 -0000 On 2005-07-14 00:22, "M. Warner Losh" wrote: > In message: <20050713210941.GA841@gothmog.gr> > Giorgos Keramidas writes: > : I couldn't agree more. Helping source-level compatibility, as much as > : this can be accomplished for kernel code, is definitely a plus. This is > : partly the reason why I noted that OpenBSD synchronized their queue.h > : header with NetBSD a few times in the past. I just didn't propose > : something like this because I'm not sure I can convince any of the three > : BSD teams to s/SIMPLEQ/STAILQ/ or vice versa :-) > > Yea, but adding the #defines to sys/queue.h in both directions likely > wouldn't hurt. Surely. Great idea! As long as there *is* an equivalent macro that exactly matches the expected behavior, this can work nicely.