Messages in this thread | | | Date | Tue, 9 Aug 2005 02:13:55 -0700 | From | Paul Jackson <> | Subject | Re: [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/
| |