From: thib Date: Tue, 16 May 2000 19:53:38 +0000 (+0000) Subject: cleaning X-Git-Tag: ver1564~656 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0a3c69ab4b0ea0bf551efeda0932f5a5e847a11c;p=fcron cleaning --- diff --git a/fcron.c b/fcron.c index 999b70c..0c2263a 100644 --- a/fcron.c +++ b/fcron.c @@ -21,11 +21,11 @@ * `LICENSE' that comes with the fcron source distribution. */ - /* $Id: fcron.c,v 1.2 2000-05-15 18:28:38 thib Exp $ */ + /* $Id: fcron.c,v 1.3 2000-05-16 19:53:38 thib Exp $ */ #include "fcron.h" -char rcs_info[] = "$Id: fcron.c,v 1.2 2000-05-15 18:28:38 thib Exp $"; +char rcs_info[] = "$Id: fcron.c,v 1.3 2000-05-16 19:53:38 thib Exp $"; void main_loop(void); void info(void); @@ -48,7 +48,6 @@ char *prog_name = NULL; char sig_conf = 0; /* is 1 when we got a SIGHUP */ char sig_chld = 0; /* is 1 when we got a SIGCHLD */ CF *file_base; /* point to the first file of the list */ -int jobs_running = 0; /* number of jobs which are running */ time_t t1; /* the time at which sleep began */ @@ -58,7 +57,7 @@ info(void) * version, license */ { fprintf(stderr, - "$Id: fcron.c,v 1.2 2000-05-15 18:28:38 thib Exp $\n" + "$Id: fcron.c,v 1.3 2000-05-16 19:53:38 thib Exp $\n" "fcron " VERSION " - periodic command scheduler\n" "Copyright 2000 Thibault Godouet \n" "This program is free software distributed\n" diff --git a/fcron.h b/fcron.h index b67c621..7afb965 100644 --- a/fcron.h +++ b/fcron.h @@ -21,7 +21,7 @@ * `LICENSE' that comes with the fcron source distribution. */ - /* $Id: fcron.h,v 1.2 2000-05-15 18:28:39 thib Exp $ */ + /* $Id: fcron.h,v 1.3 2000-05-16 19:53:42 thib Exp $ */ #ifndef __FCRONH__ #define __FCRONH__ @@ -44,7 +44,6 @@ extern pid_t daemon_pid; extern char *prog_name; extern char sig_hup; extern CF *file_base; -extern int jobs_running; /* end of global variables */