Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2002 15:36:07 -0700 (MST)
From:      "M. Warner Losh" <imp@village.org>
To:        drosih@rpi.edu
Cc:        Todd.Miller@courtesan.com, perry@wasabisystems.com, wes@softweyr.com, tlambert2@mindspring.com, asmodai@wxs.nl, mckusick@mckusick.com, arch@FreeBSD.ORG, peter@wemm.org, phk@critter.freebsd.dk, deatley@apple.com, jkh@winston.freebsd.org, deraadt@cvs.openbsd.org
Subject:   Re: __P macro question
Message-ID:  <20020131.153607.63055791.imp@village.org>
In-Reply-To: <p05101402b87f705dd790@[128.113.24.47]>
References:  <87d6zq31z6.fsf@snark.piermont.com> <200201312043.g0VKhrDx004889@xerxes.courtesan.com> <p05101402b87f705dd790@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <p05101402b87f705dd790@[128.113.24.47]>
            Garance A Drosihn <drosih@rpi.edu> writes:
: I also came across things like a prototype of:
:   static int  sendfile __P((struct printer *pp, int type, char *file,
:                                   int format));
: 
: for a procedure declaration of:
:      static int
:      sendfile(pp, type, file, format)
:              struct printer *pp;
:              int type;
:              char *file;
:              char format;
:      {

That's *EXCATLY* why I'm converting the old, but still legal in c89,
style to new style.  You get warnings that you didn't get before.

Warner

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?20020131.153607.63055791.imp>