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 <[EMAIL PROTECTED]> 1.925.600.0401
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to