From 0045483c1ee279bf0c1ae93bb9eb0344ab9cdf3c Mon Sep 17 00:00:00 2001 From: xchaos Date: Sat, 29 Dec 2007 15:30:07 +0000 Subject: [PATCH] odstranen "warning: implicit declaration of function" a jeste neco git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@28 251d49ef-1d17-4917-a970-b30cf55b089b --- cll1.h | 1 + prometheus.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cll1.h b/cll1.h index 3b7f748..cd6e685 100644 --- a/cll1.h +++ b/cll1.h @@ -27,6 +27,7 @@ #include #include #include +#include /* Section For Dummies part 1, updated 2004-05-07 by xCh. */ diff --git a/prometheus.c b/prometheus.c index d7f579f..366608f 100644 --- a/prometheus.c +++ b/prometheus.c @@ -486,7 +486,7 @@ void get_traffic_statistics(void) else sscanf(ptr,"%Lu",&traffic); traffic+=(1<<19); traffic>>=20; break; - case 3: if(strncmp(ptr,"post_",5) && strncmp(ptr,"forw_",5) || commonflag) + case 3: if((strncmp(ptr,"post_",5) && strncmp(ptr,"forw_",5)) || commonflag) accept=eq(ptr,mark); /*if (filter_type==1) accept=eq(ptr,"MARK"); else accept=eq(ptr,"CLASSIFY");*/ break; -- 2.30.2