chiark / gitweb /
wip compile
authorIan Jackson <ian@liberator.(none)>
Mon, 26 Apr 2010 11:09:36 +0000 (12:09 +0100)
committerIan Jackson <ian@liberator.(none)>
Mon, 26 Apr 2010 11:09:36 +0000 (12:09 +0100)
backends/innduct.c

index 0258ad022de0ce6b17341679f0449c7fb43745be..968a177be7eeb893c4056a57a6fa65f68d4cdd9d 100644 (file)
@@ -178,6 +178,7 @@ perl -ne 'print if m/-8\<-/..m/-\>8-/; print "\f" if m/-\^L-/' backends/innduct.
 #include <stdarg.h>
 #include <assert.h>
 #include <stdlib.h>
+#include <glob.h>
 
 #include <oop.h>
 #include <oop-read.h>
@@ -309,12 +310,10 @@ static int reconnect_delay_periods, flushfail_retry_periods, open_wait_periods;
 static int backlog_retry_minperiods, backlog_spontaneous_rescan_periods;
 static const char *inndconffile;
 
-static double accept_proportion;
 static double nocheck_thresh_pct= 95.0;
 static double nocheck_thresh; /* computed in main from _pct */
 static double nocheck_decay_articles= 100; /* converted to _decay */
 static double nocheck_decay; /* computed in main from _articles */
-static int nocheck, nocheck_reported;
 
 
 /*----- statistics -----*/
@@ -446,8 +445,10 @@ static char *path_lock, *path_flushing, *path_defer, *globpat_backlog;
 static StateMachineState sms;
 static FILE *defer;
 static InputFile *main_input_file, *flushing_input_file, *backlog_input_file;
-static int sm_period_counter;
+static int sm_period_counter, until_backlog_nextscan;
 
+static double accept_proportion;
+static int nocheck, nocheck_reported;
 
 /*========== logging ==========*/