From owner-freebsd-arch Wed Feb 27 16:20:10 2002 Delivered-To: freebsd-arch@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id AC0EB37B417; Wed, 27 Feb 2002 16:20:07 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020228002007.ZXSG2951.rwcrmhc53.attbi.com@InterJet.elischer.org>; Thu, 28 Feb 2002 00:20:07 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id QAA02777; Wed, 27 Feb 2002 16:01:18 -0800 (PST) Date: Wed, 27 Feb 2002 16:01:16 -0800 (PST) From: Julian Elischer To: "Brian F. Feldman" Cc: Alfred Perlstein , bde@FreeBSD.org, arch@FreeBSD.org Subject: Re: Do we want the _SYS_SYSPROTO_H_ junk? In-Reply-To: <200202272357.g1RNvjY46402@green.bikeshed.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG well theoretically you should be using prototypes On Wed, 27 Feb 2002, Brian F. Feldman wrote: > #ifndef _SYS_SYSPROTO_H_ > struct open_args { > char *path; > int flags; > int mode; > }; > #endif > int > open(td, uap) > struct thread *td; <---- > register struct open_args /* { <---- > syscallarg(char *) path; > syscallarg(int) flags; > syscallarg(int) mode; > } */ *uap; > { > > The first part, if ever actually called into existence by sysproto.h not > being included, would be bogus. Do we want to keep introducing those? > > -- > Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ > <> green@FreeBSD.org <> bfeldman@tislabs.com \ The Power to Serve! \ > Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\ > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-arch" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message