Fix some warnings (by Ingmar Alting)

This commit is contained in:
Ben Gras 2006-11-10 18:13:02 +00:00
parent d83e4d3b2e
commit f8a5db5ab0

View File

@ -14,10 +14,9 @@ long ticks; /* number of ticks to wait */
* previous) alarm will also delay the previous alarm.
*/
message m, m_alarm;
clock_t time_left;
int s;
if (ticks <= 0) return; /* check for robustness */
if (ticks <= 0) return OK; /* check for robustness */
m.ALRM_ENDPT = SELF; /* SELF means this process nr */
m.ALRM_EXP_TIME = ticks; /* request message after ticks */