diff options
author | 2003-06-26 00:13:38 +0000 | |
---|---|---|
committer | 2003-06-26 00:13:38 +0000 | |
commit | 5d5033d4e3b21f29342896ea868c348909d643fa (patch) | |
tree | ad87f7bc2813486a37d16408ec0ce4dcf4f86448 | |
parent | protos. this requires changing the api for the *trail() functions a bit (diff) | |
download | wireguard-openbsd-5d5033d4e3b21f29342896ea868c348909d643fa.tar.xz wireguard-openbsd-5d5033d4e3b21f29342896ea868c348909d643fa.zip |
two missing protos
-rw-r--r-- | usr.sbin/cron/entry.c | 6 | ||||
-rw-r--r-- | usr.sbin/cron/funcs.h | 6 |
2 files changed, 7 insertions, 5 deletions
diff --git a/usr.sbin/cron/entry.c b/usr.sbin/cron/entry.c index ce2d2e7ed8d..2a8afa7489d 100644 --- a/usr.sbin/cron/entry.c +++ b/usr.sbin/cron/entry.c @@ -1,4 +1,4 @@ -/* $OpenBSD: entry.c,v 1.25 2003/04/17 14:10:47 millert Exp $ */ +/* $OpenBSD: entry.c,v 1.26 2003/06/26 00:13:38 deraadt 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.25 2003/04/17 14:10:47 millert Exp $"; +static char const rcsid[] = "$OpenBSD: entry.c,v 1.26 2003/06/26 00:13:38 deraadt Exp $"; #endif /* vix 26jan87 [RCS'd; rest of log is in RCS file] @@ -71,7 +71,7 @@ free_entry(entry *e) { * otherwise return a pointer to a new entry. */ entry * -load_entry(FILE *file, void (*error_func)(), 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/funcs.h b/usr.sbin/cron/funcs.h index 63c71ee0f46..407fbf2401f 100644 --- a/usr.sbin/cron/funcs.h +++ b/usr.sbin/cron/funcs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: funcs.h,v 1.10 2003/02/20 20:38:08 millert Exp $ */ +/* $OpenBSD: funcs.h,v 1.11 2003/06/26 00:13:38 deraadt Exp $ */ /* * Copyright (c) 1997,2000 by Internet Software Consortium, Inc. @@ -66,10 +66,12 @@ char *env_get(char *, char **), **env_copy(char **), **env_set(char **, char *); +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 (*)(), struct passwd *, char **); +entry *load_entry(FILE *, void (*)(const char *), struct passwd *, char **); FILE *cron_popen(char *, char *, struct passwd *); |