]> git.lyx.org Git - lyx.git/blobdiff - src/support/syscontr.C
the freespacing patch from Kayvan, draw the math empty delim with onoffdash, asure...
[lyx.git] / src / support / syscontr.C
index 51c903a2e0c29a7845242f628107842820360118..fb7d68b36ad854998fc3cba224639ae04ebdeb2b 100644 (file)
@@ -1,7 +1,7 @@
 #include <config.h>
 
-#include <errno.h>
-#include <stdlib.h>
+#include <cerrno>
+#include <cstdlib>
 #include <unistd.h>
 #include <sys/wait.h>
 #include "syscontr.h"
@@ -64,11 +64,12 @@ SystemcallsSingletoncontroller::addCall(Systemcalls const &newcall) {
 
 void 
 SystemcallsSingletoncontroller::timer() {
+       lyxerr << "Tick" << endl;
        // check each entry of our list, if it's finished
         ControlledCalls *prev = 0;
-       for (ControlledCalls *actCall=sysCalls; actCall; actCall=actCall->next)
+       for (ControlledCalls *actCall= sysCalls; actCall; actCall= actCall->next)
        {
-               pid_t pid=actCall->call->getpid();
+               pid_t pid= actCall->call->getpid();
                int stat_loc;
                int waitrpid = waitpid(pid, &stat_loc, WNOHANG);
                if (waitrpid == -1) {