From c3a4cec7916b29a85526cd8345fdb50f2cad26cd Mon Sep 17 00:00:00 2001 From: jtc Date: Fri, 5 Aug 1994 01:01:16 +0000 Subject: [PATCH] Include proper header files to bring prototypes into scope --- libexec/comsat/comsat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libexec/comsat/comsat.c b/libexec/comsat/comsat.c index d42d1d490d87..7d0458990c0a 100644 --- a/libexec/comsat/comsat.c +++ b/libexec/comsat/comsat.c @@ -39,7 +39,7 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)comsat.c 5.24 (Berkeley) 2/25/91";*/ -static char rcsid[] = "$Id: comsat.c,v 1.4 1994/02/01 00:32:22 cgd Exp $"; +static char rcsid[] = "$Id: comsat.c,v 1.5 1994/08/05 01:01:16 jtc Exp $"; #endif /* not lint */ #include @@ -51,6 +51,7 @@ static char rcsid[] = "$Id: comsat.c,v 1.4 1994/02/01 00:32:22 cgd Exp $"; #include #include +#include #include #include #include @@ -60,6 +61,7 @@ static char rcsid[] = "$Id: comsat.c,v 1.4 1994/02/01 00:32:22 cgd Exp $"; #include #include #include +#include #include int debug = 0; @@ -137,8 +139,6 @@ onalrm() static u_int utmpsize; /* last malloced size for utmp */ static u_int utmpmtime; /* last modification time for utmp */ struct stat statbf; - off_t lseek(); - char *malloc(), *realloc(); if (time((time_t *)NULL) - lastmsgtime >= MAXIDLE) exit(0);