From owner-freebsd-net Mon Aug 27 5: 7:26 2001 Delivered-To: freebsd-net@freebsd.org Received: from starfruit.itojun.org (dialup0.itojun.org [210.160.95.108]) by hub.freebsd.org (Postfix) with ESMTP id F0E7137B406 for ; Mon, 27 Aug 2001 05:07:19 -0700 (PDT) (envelope-from itojun@itojun.org) Received: from itojun.org (localhost [127.0.0.1]) by starfruit.itojun.org (Postfix) with ESMTP id E4ED97C1; Mon, 27 Aug 2001 15:14:38 +0900 (JST) To: Julian Elischer Cc: Keiichi SHIMA , net@freebsd.org, users@ipv6.org, core@kame.net In-reply-to: julian's message of Sun, 26 Aug 2001 21:44:19 MST. <3B89D023.8E3762D8@elischer.org> X-Template-Reply-To: itojun@itojun.org X-Template-Return-Receipt-To: itojun@itojun.org X-PGP-Fingerprint: F8 24 B4 2C 8C 98 57 FD 90 5F B4 60 79 54 16 E2 Subject: Re: IPV6/KAME/protosw integration cleanup From: Jun-ichiro itojun Hagino Date: Mon, 27 Aug 2001 15:14:38 +0900 Message-Id: <20010827061439.E4ED97C1@starfruit.itojun.org> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >I have still not heard any reason for the varargs here.. >except "it's needed for portability".. >portability with WHO? portability with other *BSD projects (NetBSD, OpenBSD, BSD/OS, MacOSX maybe). >BSD4.4 certainly didn't have varargs there.... 4.4BSD did not have prototype in protosw.h, there's no varargs either. freebsd added prototype on its own, and thus change/broke some of the existing xx{in,out}put prototypes. netbsd/openbsd added varargs, to keep existing practices in 4.4BSD. see it for yourself. http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/protosw.h http://www.openbsd.org/cgi-bin/cvsweb/src/sys/sys/protosw.h http://cvsweb.netbsd.org/bsdweb.cgi/syssrc/sys/sys/protosw.h itojun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message