On 2011-12-03 16:46, Marek Lindner wrote:
On Saturday, December 03, 2011 23:41:38 Martin Hundebøll wrote:
On 2011-12-03 08:36, Marek Lindner wrote:
Since it is a simple one-liner you could make it a define or at least static inline (in main.h).
Correct. Maybe the correct solution is to remove the function and just call time_is_before_jiffies() directly instead?
Guess you misread me. I like the idea of having this easy to read wrapper. Before you moved it to main.c it was a static function. The compiler could better optimize it.
OK. Didn't misread you; just tried to think :) I'll send a patch with moving it to an inline function in main.h.