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 3b7f748..cd6e685 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 d7f579f..366608f 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.143493 seconds and 4 git commands to generate.