From 5ba07240f091cf427254db548b129f590e53f071 Mon Sep 17 00:00:00 2001 From: Andreas Schulz Date: Sun, 28 Nov 1993 10:24:52 +0000 Subject: [PATCH] Get rid of some compilation warnings. --- libexec/crond/do_command.c | 13 ++++++++----- libexec/crond/misc.c | 4 ++-- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/libexec/crond/do_command.c b/libexec/crond/do_command.c index e5e7f08f8b..826d3d40f5 100644 --- a/libexec/crond/do_command.c +++ b/libexec/crond/do_command.c @@ -1,10 +1,13 @@ #if !defined(lint) && !defined(LINT) -static char rcsid[] = "$Header: do_command.c,v 2.1 90/07/18 00:23:38 vixie Exp $"; +static char rcsid[] = "$Header: /a/cvs/386BSD/src/libexec/crond/do_command.c,v 1.1.1.1 1993/06/12 14:55:03 rgrimes Exp $"; #endif -/* $Source: /jove_u3/vixie/src/cron/RCS/do_command.c,v $ - * $Revision: 2.1 $ - * $Log: do_command.c,v $ +/* $Source: /a/cvs/386BSD/src/libexec/crond/do_command.c,v $ + * $Revision: 1.1.1.1 $ + * $Log: do_command.c,v $ + * Revision 1.1.1.1 1993/06/12 14:55:03 rgrimes + * Initial import, 0.1 + pk 0.2.4-B1 + * * Revision 2.1 90/07/18 00:23:38 vixie * Baseline for 4.4BSD release * @@ -61,6 +64,7 @@ static char rcsid[] = "$Header: do_command.c,v 2.1 90/07/18 00:23:38 vixie Exp $ #include "cron.h" #include #include +#include #if defined(BSD) # include #endif /*BSD*/ @@ -75,7 +79,6 @@ do_command(cmd, u) char *cmd; user *u; { - extern int fork(), _exit(); extern void child_process(), log_it(); extern char *env_get(); diff --git a/libexec/crond/misc.c b/libexec/crond/misc.c index d906f87394..a097590376 100644 --- a/libexec/crond/misc.c +++ b/libexec/crond/misc.c @@ -1,5 +1,5 @@ #if !defined(lint) && !defined(LINT) -static char rcsid[] = "$Header: misc.c,v 2.1 90/07/18 00:24:33 vixie Exp $"; +static char rcsid[] = "$Header: /a/cvs/386BSD/src/libexec/crond/misc.c,v 1.1.1.1 1993/06/12 14:55:03 rgrimes Exp $"; #endif /* vix 26jan87 [RCS has the rest of the log] @@ -40,6 +40,7 @@ static char rcsid[] = "$Header: misc.c,v 2.1 90/07/18 00:24:33 vixie Exp $"; #include #include #include +#include #if defined(ATT) # include #endif @@ -52,7 +53,6 @@ char * savestr(str) char *str; { - extern int strlen(); extern char *malloc(), *strcpy(); /**/ char *temp; -- 2.20.1