]> arthur.barton.de Git - netdata.git/commitdiff
fixed __useconds_t and unused include of execinfo.h #66
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Wed, 30 Mar 2016 20:02:57 +0000 (23:02 +0300)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Wed, 30 Mar 2016 20:02:57 +0000 (23:02 +0300)
src/apps_plugin.c
src/daemon.c

index c9b2269826d8b9a2afba8a9820b286c0b93b8c79..1a0d43fa2eed0ebf31d004b3ab1143ded04742e1 100755 (executable)
@@ -1994,7 +1994,7 @@ int main(int argc, char **argv)
                if(usec < (update_every * 1000000ULL / 2)) susec = (update_every * 1000000ULL) - usec;
                else susec = update_every * 1000000ULL / 2;
 
-               usleep((__useconds_t) susec);
+               usleep((useconds_t) susec);
                bcopy(&now, &last, sizeof(struct timeval));
 
                // restart once per day (14400 seconds)
index 268814798af9543714b30192ce23f62ff3dff0d5..22d8f7fc88ad6ba112fe9c5fa5ca36086d2e453c 100755 (executable)
@@ -13,7 +13,6 @@
 #include <pthread.h>
 #include <sys/wait.h>
 #include <sys/stat.h>
-#include <execinfo.h>
 
 #include "common.h"
 #include "appconfig.h"