* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: database.c,v 1.68 2003-07-14 10:52:44 thib Exp $ */
+ /* $Id: database.c,v 1.69 2003-09-12 20:55:18 thib Exp $ */
#include "fcron.h"
#include "database.h"
#include "job.h"
+#include "getloadavg.h"
int is_leap_year(int year);
int get_nb_mdays(int year, int mon);
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: fcron.h,v 1.29 2002-10-28 17:53:21 thib Exp $ */
+ /* $Id: fcron.h,v 1.30 2003-09-12 20:54:53 thib Exp $ */
#ifndef __FCRON_H__
#define __FCRON_H__
#include <sys/time.h>
#endif
-#ifndef HAVE_GETLOADAVG
-#include "getloadavg.h"
-#endif
-
/* global variables */
extern time_t now;
extern char debug_opt;
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: fcrondyn.c,v 1.8 2002-10-28 17:50:24 thib Exp $ */
+ /* $Id: fcrondyn.c,v 1.9 2003-09-12 20:53:34 thib Exp $ */
/* fcrondyn : interact dynamically with running fcron process :
* - list jobs, with their status, next time of execution, etc
#include "fcrondyn.h"
#include "allow.h"
#include "read_string.h"
+#include "getloadavg.h"
-char rcs_info[] = "$Id: fcrondyn.c,v 1.8 2002-10-28 17:50:24 thib Exp $";
+char rcs_info[] = "$Id: fcrondyn.c,v 1.9 2003-09-12 20:53:34 thib Exp $";
void info(void);
void usage(void);