summaryrefslogtreecommitdiff
path: root/usr.sbin/cron
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-01-30 20:44:51 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-01-30 20:44:51 +0000
commit8898e33c57016bc4af8542c9ceddf4fd357e91ee (patch)
tree0b5cdc4523021f2c75593de1327b350461b7ad7c /usr.sbin/cron
parent3b6212d92ee157a12d774a5c305e8784a2230de4 (diff)
fix some whitespace
Diffstat (limited to 'usr.sbin/cron')
-rw-r--r--usr.sbin/cron/entry.c7
-rw-r--r--usr.sbin/cron/env.c5
-rw-r--r--usr.sbin/cron/funcs.h5
3 files changed, 9 insertions, 8 deletions
diff --git a/usr.sbin/cron/entry.c b/usr.sbin/cron/entry.c
index 2d15f46d25f..0d5b3357305 100644
--- a/usr.sbin/cron/entry.c
+++ b/usr.sbin/cron/entry.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: entry.c,v 1.29 2004/06/22 21:02:19 avsm Exp $ */
+/* $OpenBSD: entry.c,v 1.30 2005/01/30 20:44:50 millert Exp $ */
/*
* Copyright 1988,1990,1993,1994 by Paul Vixie
@@ -23,7 +23,7 @@
*/
#if !defined(lint) && !defined(LINT)
-static char const rcsid[] = "$OpenBSD: entry.c,v 1.29 2004/06/22 21:02:19 avsm Exp $";
+static char const rcsid[] = "$OpenBSD: entry.c,v 1.30 2005/01/30 20:44:50 millert Exp $";
#endif
/* vix 26jan87 [RCS'd; rest of log is in RCS file]
@@ -71,7 +71,8 @@ free_entry(entry *e) {
* otherwise return a pointer to a new entry.
*/
entry *
-load_entry(FILE *file, void (*error_func)(const char *), struct passwd *pw, char **envp) {
+load_entry(FILE *file, void (*error_func)(const char *), struct passwd *pw,
+ char **envp) {
/* this function reads one crontab entry -- the next -- from a file.
* it skips any leading blank lines, ignores comments, and returns
* NULL if for any reason the entry can't be read and parsed.
diff --git a/usr.sbin/cron/env.c b/usr.sbin/cron/env.c
index a0e4c1b096e..aacce1d9ccc 100644
--- a/usr.sbin/cron/env.c
+++ b/usr.sbin/cron/env.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: env.c,v 1.17 2004/06/22 03:15:33 avsm Exp $ */
+/* $OpenBSD: env.c,v 1.18 2005/01/30 20:44:50 millert Exp $ */
/* Copyright 1988,1990,1993,1994 by Paul Vixie
* All rights reserved
@@ -22,7 +22,7 @@
*/
#if !defined(lint) && !defined(LINT)
-static char const rcsid[] = "$OpenBSD: env.c,v 1.17 2004/06/22 03:15:33 avsm Exp $";
+static char const rcsid[] = "$OpenBSD: env.c,v 1.18 2005/01/30 20:44:50 millert Exp $";
#endif
#include "cron.h"
@@ -187,7 +187,6 @@ load_env(char *envstr, FILE *f) {
}
*str++ = *c++;
break;
-
case EQ1:
if (*c == '=') {
state++;
diff --git a/usr.sbin/cron/funcs.h b/usr.sbin/cron/funcs.h
index d692208c990..9a4b88fa6a7 100644
--- a/usr.sbin/cron/funcs.h
+++ b/usr.sbin/cron/funcs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: funcs.h,v 1.12 2004/06/17 22:11:55 millert Exp $ */
+/* $OpenBSD: funcs.h,v 1.13 2005/01/30 20:44:50 millert Exp $ */
/*
* Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
@@ -71,7 +71,8 @@ void mkprint(char *, unsigned char *, int);
user *load_user(int, struct passwd *, const char *),
*find_user(cron_db *, const char *);
-entry *load_entry(FILE *, void (*)(const char *), struct passwd *, char **);
+entry *load_entry(FILE *,
+ void (*)(const char *), struct passwd *, char **);
FILE *cron_popen(char *, char *, struct passwd *);