#include <assert.h>
#include <ctype.h>
#include <errno.h>
+#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
sel_timer t;
} blast;
+#define sin saddrin
static struct sockaddr_in sin;
static sel_state sel;
static struct timeval ctv = { 0, 500000 };
sel_timer *t = sel.timers;
while (t) {
struct tab *q; for (q = tab; q->func != t->func; q++) ;
- assert(t->prev->next == t);
- printf("%i.%06i %p %s\n", t->tv.tv_sec, t->tv.tv_usec, t->p, q->name);
+/* assert(t->prev->next == t); */
+ printf("%lu.%06lu %p %s\n", t->tv.tv_sec, t->tv.tv_usec, t->p, q->name);
assert(t != t->next);
t = t->next;
}