odstranen "warning: implicit declaration of function" a jeste neco
authorxchaos <xchaos@251d49ef-1d17-4917-a970-b30cf55b089b>
Sat, 29 Dec 2007 15:30:07 +0000 (15:30 +0000)
committerxchaos <xchaos@251d49ef-1d17-4917-a970-b30cf55b089b>
Sat, 29 Dec 2007 15:30:07 +0000 (15:30 +0000)
git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@28 251d49ef-1d17-4917-a970-b30cf55b089b

cll1.h
prometheus.c

diff --git a/cll1.h b/cll1.h
index 3b7f74845d9db6067a8a010763499ecc74e558af..cd6e685144ebe772a2954ba2d9a28b0b6c8ded11 100644 (file)
--- a/cll1.h
+++ b/cll1.h
@@ -27,6 +27,7 @@
 #include <malloc.h>
 #include <stdlib.h>
 #include <time.h>
+#include <unistd.h>
 
 /* Section For Dummies part 1, updated 2004-05-07 by xCh. */
 
index d7f579ff11fbebda5cf483253c224f08e8ac7096..366608fcd74f5f53375ed448645523aa2f5c23b5 100644 (file)
@@ -486,7 +486,7 @@ void get_traffic_statistics(void)
            else\r
             sscanf(ptr,"%Lu",&traffic); traffic+=(1<<19); traffic>>=20;\r
            break;\r
-   case 3: if(strncmp(ptr,"post_",5) && strncmp(ptr,"forw_",5) || commonflag)\r
+   case 3: if((strncmp(ptr,"post_",5) && strncmp(ptr,"forw_",5)) || commonflag)\r
             accept=eq(ptr,mark);\r
             /*if (filter_type==1) accept=eq(ptr,"MARK"); else accept=eq(ptr,"CLASSIFY");*/\r
            break;\r
This page took 0.12143 seconds and 4 git commands to generate.