diff options
author | 2005-01-30 20:44:50 +0000 | |
---|---|---|
committer | 2005-01-30 20:44:50 +0000 | |
commit | c3345ffbe60bcab0a570ff6b93a22e9845c6c45d (patch) | |
tree | f603b04d97105328b29728c66446ff45d3ad1213 | |
parent | sync (diff) | |
download | wireguard-openbsd-c3345ffbe60bcab0a570ff6b93a22e9845c6c45d.tar.xz wireguard-openbsd-c3345ffbe60bcab0a570ff6b93a22e9845c6c45d.zip |
fix some whitespace
-rw-r--r-- | usr.sbin/cron/entry.c | 7 | ||||
-rw-r--r-- | usr.sbin/cron/env.c | 5 | ||||
-rw-r--r-- | usr.sbin/cron/funcs.h | 5 |
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 *); |