Added an attotime_is_never() function

This commit is contained in:
Nathan Woods 2009-10-31 20:52:32 +00:00
parent a2a25f17e3
commit 3cb4cbfa70

View File

@ -426,4 +426,15 @@ INLINE attotime attotime_max(attotime _time1, attotime _time2)
}
/*-------------------------------------------------
attotime_is_never - return whether or not an
attotime is attotime_never
-------------------------------------------------*/
INLINE int attotime_is_never(attotime _time)
{
return (_time.seconds >= ATTOTIME_MAX_SECONDS);
}
#endif /* __ATTOTIME_H__ */