[OpenAFS-devel] Fwd: [patch review] libafs solaris cleanup

Matt Benjamin matt@linuxbox.com
Mon, 12 Feb 2007 11:48:08 -0500


Dale,

Respectfully, I haven't seen this stylistic preference in Unix source 
code or style guidelines (eg, Rob Pike). 

Matt

Dale Ghent wrote:
>
> On Feb 12, 2007, at 9:43 AM, chas williams - CONTRACTOR wrote:
>
>> In message <0A9D8EA8-6E90-4392-8871-3CECABFAB0A5@umbc.edu>,Dale Ghent 
>> writes:
>>> 7) Because I'm a pedant and try to subscribe to a particular
>>> cstyle... "return code;" -> "return (code);"
>>
>> its been explained to me that return is not a function.
>
> Well, neither is "if" but we tend to use parens with that.
>
> Personally, I just look at it from a call & argument perspective, not 
> whether it's really a real function or not.
>
> /dale
>
>
> -- 
> Dale Ghent
> UNIX Systems Specialist
> UMBC - Office of Information Technology
> ECS 201 - x51705
>
>
>
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel


-- 

Matt Benjamin

The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI  48104

http://linuxbox.com

tel. 734-761-4689
fax. 734-769-8938
cel. 734-216-5309