Date: Wed, 27 Feb 2002 16:01:16 -0800 (PST) From: Julian Elischer <julian@elischer.org> To: "Brian F. Feldman" <green@FreeBSD.org> Cc: Alfred Perlstein <bright@mu.org>, bde@FreeBSD.org, arch@FreeBSD.org Subject: Re: Do we want the _SYS_SYSPROTO_H_ junk? Message-ID: <Pine.BSF.4.21.0202271559420.97278-100000@InterJet.elischer.org> In-Reply-To: <200202272357.g1RNvjY46402@green.bikeshed.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0202271559420.97278-100000>
