Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2001 15:14:38 +0900
From:      Jun-ichiro itojun Hagino <itojun@iijlab.net>
To:        Julian Elischer <julian@elischer.org>
Cc:        Keiichi SHIMA <keiichi@iij.ad.jp>, net@freebsd.org, users@ipv6.org, core@kame.net
Subject:   Re: IPV6/KAME/protosw integration cleanup 
Message-ID:  <20010827061439.E4ED97C1@starfruit.itojun.org>
In-Reply-To: julian's message of Sun, 26 Aug 2001 21:44:19 MST. <3B89D023.8E3762D8@elischer.org> 

next in thread | previous in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010827061439.E4ED97C1>