DragonFly BSD
DragonFly submit List (threaded) for 2004-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: patch to un-K&R-ify libkern


From: David Cuthbert <dacut@xxxxxxxxx>
Date: Mon, 26 Jan 2004 21:50:35 -0500

Joerg Sonnenberger wrote:
Commited. Thanks. The addition of (void) to empty_loop() and co
is unnecessary.

?


In C (but not C++), "void empty_loop()" is a function taking any number of args, equivalent to "void empty_loop(...)"; the (void) addition prohibits arguments from being passed. Presumably, this matches a header somewhere? (Though I didn't see it in the patch.)




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]