From: thib Date: Tue, 15 May 2001 00:42:48 +0000 (+0000) Subject: include in each .c file the corresponding .h file X-Git-Tag: ver1564~279 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eac8960aceab5bea12ec7d438e63f2c51f7580ac;p=fcron include in each .c file the corresponding .h file --- diff --git a/allow.c b/allow.c index 9169334..5316563 100644 --- a/allow.c +++ b/allow.c @@ -22,9 +22,10 @@ * `LICENSE' that comes with the fcron source distribution. */ - /* $Id: allow.c,v 1.5 2001-01-12 21:37:52 thib Exp $ */ + /* $Id: allow.c,v 1.6 2001-05-15 00:51:32 thib Exp $ */ #include "fcrontab.h" +#include "allow.h" int in_file(char *str, char *file) diff --git a/database.c b/database.c index 09b0c18..4110425 100644 --- a/database.c +++ b/database.c @@ -22,14 +22,16 @@ * `LICENSE' that comes with the fcron source distribution. */ - /* $Id: database.c,v 1.50 2001-04-21 08:50:46 thib Exp $ */ + /* $Id: database.c,v 1.51 2001-05-15 00:46:54 thib Exp $ */ #include "fcron.h" +#include "database.h" int is_leap_year(int year); int get_nb_mdays(int year, int mon); void set_wday(struct tm *date); void goto_non_matching(CL *line, struct tm *tm, char option); +#define END_OF_INTERVAL 1 /* goto_non_matching() : option */ void run_normal_job(CL *line); void run_serial_job(void); void run_lavg_job(int i); diff --git a/fileconf.c b/fileconf.c index 75b3723..81c5066 100644 --- a/fileconf.c +++ b/fileconf.c @@ -22,9 +22,10 @@ * `LICENSE' that comes with the fcron source distribution. */ - /* $Id: fileconf.c,v 1.43 2001-04-21 08:47:07 thib Exp $ */ + /* $Id: fileconf.c,v 1.44 2001-05-15 00:45:21 thib Exp $ */ #include "fcrontab.h" +#include "fileconf.h" char *get_string(char *ptr); int get_line(char *str, size_t size, FILE *file); diff --git a/log.c b/log.c index 00195ee..51bfba7 100644 --- a/log.c +++ b/log.c @@ -22,13 +22,14 @@ * `LICENSE' that comes with the fcron source distribution. */ - /* $Id: log.c,v 1.6 2001-04-21 08:42:33 thib Exp $ */ + /* $Id: log.c,v 1.7 2001-05-15 00:42:48 thib Exp $ */ /* This code is inspired by Anacron's sources of Itai Tzur ( thanks to him ) */ #include "fcron.h" +#include "log.h" static void xopenlog(void);