]> git.lyx.org Git - lyx.git/blobdiff - src/support/syscontr.C
read the ChangeLog, use the C++ style casts more, some changes to the debugbufs,...
[lyx.git] / src / support / syscontr.C
index 51c903a2e0c29a7845242f628107842820360118..769d74f2286b47fcdbcf86fd4fce3b8ee2aa26fb 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"
@@ -66,9 +66,9 @@ void
 SystemcallsSingletoncontroller::timer() {
        // 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) {