]> mj.ucw.cz Git - libucw.git/blobdiff - lib/mainloop.h
Added the local copy of the regex library back.
[libucw.git] / lib / mainloop.h
index f321c2b5fc85e57402d1a4c2741b1deea26f2bcd..5c3baf68c226f42b460b4a18f192f89007d26ffd 100644 (file)
@@ -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 */
 };