From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 13 06:14:56 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 AB63316A41C for ; Wed, 13 Jul 2005 06:14:56 +0000 (GMT) (envelope-from kevlo@kevlo.org) Received: from ns.kpvs.tp.edu.tw (wiki.kpvs.tp.edu.tw [203.72.253.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id E7CC343D45 for ; Wed, 13 Jul 2005 06:14:55 +0000 (GMT) (envelope-from kevlo@kevlo.org) Received: from [192.168.3.122] (220-130-133-26.HINET-IP.hinet.net [220.130.133.26]) (authenticated bits=0) by ns.kpvs.tp.edu.tw (8.13.3/8.13.3) with ESMTP id j6DE3ci5024494 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Wed, 13 Jul 2005 14:03:54 GMT From: Kevin Lo To: freebsd-hackers@freebsd.org In-Reply-To: <42D3E8D9.6020105@xbsd.org> References: <42D3E8D9.6020105@xbsd.org> Content-Type: text/plain Date: Wed, 13 Jul 2005 14:16:22 +0800 Message-Id: <1121235382.3132.0.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 (2.2.2-5) Content-Transfer-Encoding: 7bit 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: Wed, 13 Jul 2005 06:14:56 -0000 Florent Thoumie wrote: > I'm currently working on OpenBGPd port update and I'm facing a > little problem that is actually quite painful to deal with. > > I need some macros from OpenBSD sys/queue.h which aren't present > in FreeBSD. I can replace #include with #include > "queue.h" and copy the file in the working directory but this > leads to having more than 10 patches. > > Yeah I'm using REINPLACE_CMD, but sometimes sys/queue.h is a > hidden "dependency" (by hidden, I mean it's included by an > included header file, and doesn't show up directly in the source > file). > > So, could somebody consider merging these SIMPLEQ_* macros or > even synchronize FreeBSD and OpenBSD versions ? Aren't those SIMPLEQ_* macros the same with FreeBSD's STAILQ_* macros? > Regards. > > Note: This could have been posted to -current, I wasn't sure > which mailing list was the best. Kevin