X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fmainloop.h;h=5c3baf68c226f42b460b4a18f192f89007d26ffd;hb=534019614dd611e7df29a0c8c59f2a869a2c0c39;hp=f321c2b5fc85e57402d1a4c2741b1deea26f2bcd;hpb=6f329fd6404650011ce8124a9c504e880ecc5a6b;p=libucw.git diff --git a/lib/mainloop.h b/lib/mainloop.h index f321c2b5..5c3baf68 100644 --- a/lib/mainloop.h +++ b/lib/mainloop.h @@ -12,7 +12,6 @@ #include "lib/clists.h" -typedef s64 timestamp_t; /* We measure time in milliseconds */ extern timestamp_t main_now; /* Current time in milliseconds since UNIX epoch */ extern sh_time_t main_now_seconds; /* Current time in seconds since the epoch */ extern uns main_shutdown; @@ -91,7 +90,7 @@ struct main_process { cnode n; int pid; /* Process id (0=not running) */ int status; /* Exit status (-1=fork failed) */ - byte status_msg[EXIT_STATUS_MSG_SIZE]; + char status_msg[EXIT_STATUS_MSG_SIZE]; void (*handler)(struct main_process *mp); /* [*] Called when the process exits; process_del done automatically */ void *data; /* [*] For use by the handler */ };