lkml.org 
[lkml]   [2005]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] cpuset release ABBA deadlock fix
Jan wrote:
> Because K&R (also the 2nd ed) does it.

I don't recall (void) being in early C. Perhaps it was added as
part of the ANSI Standardization effort. I doubt that the first
edition K&R [1978] has it. But my copy is not at hand to verify
this.

I continue to use it in userspace code to document that I'm ignoring
a return value. This habit likely began when I had to suppress lint
warnings about unused function returns at some point in my career.

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.925.600.0401
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-08-09 11:16    [W:0.043 / U:0.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site