From: David Schmidt <david__schmidt@users.sourceforge.net>
Date: Sat, 28 Dec 2002 04:17:58 +0000 (+0000)
Subject: Fix null_routine on unix
X-Git-Tag: v_3_1_archive_branchpoint~42
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/faq/@default-cgi@/developer-manual/static/diff?a=commitdiff_plain;h=d47aa5f1c937240c48ec3a19c96e63f0a67291b8;p=privoxy.git

Fix null_routine on unix
---

diff --git a/src/stats.c b/src/stats.c
index b191df4b..a21a8c0d 100644
--- a/src/stats.c
+++ b/src/stats.c
@@ -1,10 +1,10 @@
-const char stats_rcs[] = "$Id: stats.c,v 2.3 2002/07/18 22:06:12 jongfoster Exp $";
+const char stats_rcs[] = "$Id: stats.c,v 2.1 2002/12/28 03:58:19 david__schmidt Exp $";
 /*********************************************************************
  *
- * File        :  $Source: /cvsroot/ijbswa/current/src/jcc.c,v $
+ * File        :  $Source: /cvsroot/ijbswa/current/src/stats.c,v $
  *
- * Purpose     :  
- *                
+ * Purpose     :  Functions and definitions for accumulating and
+ *                sending statistics to an "external" stats console
  *
  * Copyright   :  Written by and Copyright (C) 2002, 2003 the SourceForge
  *                Privoxy team. http://www.privoxy.org/
diff --git a/src/stats.h b/src/stats.h
index 3d099c1d..de594c6a 100644
--- a/src/stats.h
+++ b/src/stats.h
@@ -1,6 +1,6 @@
 #ifndef STATS_H_INCLUDED
 #define STATS_H_INCLUDED
-#define STATS_H_VERSION "$Id: stats.h,v 2.0 2002/06/04 14:34:21 jongfoster Exp $"
+#define STATS_H_VERSION "$Id: stats.h,v 2.1 2002/12/28 03:58:19 david__schmidt Exp $"
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/src/stats.h,v $
@@ -35,6 +35,10 @@
  *
  * Revisions   :
  *    $Log: stats.h,v $
+ *    Revision 2.1  2002/12/28 03:58:19  david__schmidt
+ *    Initial drop of dashboard instrumentation - enabled with
+ *    --enable-activity-console
+ *
  *
  *********************************************************************/
 
@@ -68,6 +72,9 @@ void update_stats_config(struct configuration_spec * config);
 void accumulate_stats(int key, int value);
 void *forward_stats();
 void send_stats(int *p_local_stats_array[]);
+#ifdef unix
+void null_routine(int sig);
+#endif /* def unix */
 
 #endif /* ndef STATS_H_INCLUDED */