diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2015-11-04 20:28:18 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2015-11-04 20:28:18 +0000 |
commit | d3037ce85fdf672ecf23feb9122711d0bfff6ad9 (patch) | |
tree | 78f10e62a05c58c3281b29ece05db3bf5c93d5c2 /usr.sbin/cron/database.c | |
parent | 5fc6bd7c6445514ec75f98c8790517cb902f2176 (diff) |
Change cron from including all headers in every file to only including
what each .c file needs. I have not removed cron.h since it will
be used in a future clean up of the cron's .h files. OK nicm@
Diffstat (limited to 'usr.sbin/cron/database.c')
-rw-r--r-- | usr.sbin/cron/database.c | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/usr.sbin/cron/database.c b/usr.sbin/cron/database.c index 19d2e186da9..d9c41d94c08 100644 --- a/usr.sbin/cron/database.c +++ b/usr.sbin/cron/database.c @@ -1,4 +1,4 @@ -/* $OpenBSD: database.c,v 1.27 2015/10/26 14:27:41 millert Exp $ */ +/* $OpenBSD: database.c,v 1.28 2015/11/04 20:28:17 millert Exp $ */ /* Copyright 1988,1990,1993,1994 by Paul Vixie * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC") @@ -17,7 +17,24 @@ * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include "cron.h" +#include <sys/types.h> +#include <sys/stat.h> + +#include <bitstring.h> /* for structs.h */ +#include <dirent.h> +#include <fcntl.h> +#include <limits.h> +#include <pwd.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <time.h> /* for structs.h */ +#include <unistd.h> + +#include "pathnames.h" +#include "macros.h" +#include "structs.h" +#include "funcs.h" #define HASH(a,b) ((a)+(b)) |