Fix some warnings (by Ingmar Alting)
This commit is contained in:
parent
d83e4d3b2e
commit
f8a5db5ab0
@ -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 */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user