From d47aa5f1c937240c48ec3a19c96e63f0a67291b8 Mon Sep 17 00:00:00 2001 From: David Schmidt Date: Sat, 28 Dec 2002 04:17:58 +0000 Subject: [PATCH] Fix null_routine on unix --- src/stats.c | 8 ++++---- src/stats.h | 9 ++++++++- 2 files changed, 12 insertions(+), 5 deletions(-) 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 */ -- 2.39.2