Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Feb 2002 15:58:39 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Bruce Evans <bde@zeta.org.au>, "M. Warner Losh" <imp@village.org>
Cc:        <arch@FreeBSD.ORG>
Subject:   Re: __P macro question
Message-ID:  <p05101411b880afceb5db@[128.113.24.47]>
In-Reply-To: <20020202045410.U4512-100000@gamplex.bde.org>
References:  <20020202045410.U4512-100000@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 5:21 AM +1100 2/2/02, Bruce Evans wrote:
>On Fri, 1 Feb 2002, M. Warner Losh wrote:
>
>  > So do I qualify?  We all know that the original poster of the
>  > comment didn't understand this subtlty. :-)
>
>Better than the original poster :-).  The original poster did md5
>regression checks which would help.  I think the global changes
>should just stay away from areas that can't be checked automatically.

Okay, okay.   As the "original poster" I'll admit that I am not an
encyclopedia of C knowledge...  :-)    Still, if the routine is only
*using* a char's worth of the incoming parameter, I would prefer the
prototype defines the parameter as 'char' and not 'int'.  That's just
my personal preference, based on an upbringing which involved languages
other than C.

[and yes, I do understand how C passes parameters, and I guess I can
see why there might be some logic in the prototype defining it as
'int' -- but I just don't like doing that]

-- 
Garance Alistair Drosehn            =   gad@eclipse.acs.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu

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?p05101411b880afceb5db>