From 5b116430fc5fabd5c0a78f28764a8e75d4469ba8 Mon Sep 17 00:00:00 2001 From: John Birrell Date: Fri, 20 Feb 1998 04:33:03 +0000 Subject: [PATCH] Add #include to get prototypes. --- usr.bin/telnet/commands.c | 1 + usr.bin/telnet/ring.c | 1 + usr.bin/tftp/tftp.c | 3 ++- usr.bin/unexpand/unexpand.c | 3 ++- usr.bin/yacc/output.c | 3 ++- usr.bin/ypmatch/ypmatch.c | 3 ++- 6 files changed, 10 insertions(+), 4 deletions(-) diff --git a/usr.bin/telnet/commands.c b/usr.bin/telnet/commands.c index 5cf8b48222bc..0d190cba90f2 100644 --- a/usr.bin/telnet/commands.c +++ b/usr.bin/telnet/commands.c @@ -50,6 +50,7 @@ static char sccsid[] = "@(#)commands.c 8.2 (Berkeley) 12/15/93"; #include #endif /* CRAY */ +#include #include #include #include diff --git a/usr.bin/telnet/ring.c b/usr.bin/telnet/ring.c index 6de5a67b1465..dc18750a1dda 100644 --- a/usr.bin/telnet/ring.c +++ b/usr.bin/telnet/ring.c @@ -47,6 +47,7 @@ static char sccsid[] = "@(#)ring.c 8.1 (Berkeley) 6/6/93"; */ #include +#include #include #ifdef size_t diff --git a/usr.bin/tftp/tftp.c b/usr.bin/tftp/tftp.c index 014e28763179..cd3ecd35a003 100644 --- a/usr.bin/tftp/tftp.c +++ b/usr.bin/tftp/tftp.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)tftp.c 8.1 (Berkeley) 6/6/93"; #endif static const char rcsid[] = - "$Id$"; + "$Id: tftp.c,v 1.2 1997/08/14 06:47:40 charnier Exp $"; #endif /* not lint */ /* Many bug fixes are from Jim Guyton */ @@ -57,6 +57,7 @@ static const char rcsid[] = #include #include #include +#include #include #include "extern.h" diff --git a/usr.bin/unexpand/unexpand.c b/usr.bin/unexpand/unexpand.c index b0c069bcb897..4d70913d7b2d 100644 --- a/usr.bin/unexpand/unexpand.c +++ b/usr.bin/unexpand/unexpand.c @@ -42,7 +42,7 @@ static const char copyright[] = static char sccsid[] = "@(#)unexpand.c 8.1 (Berkeley) 6/6/93"; #endif static const char rcsid[] = - "$Id: unexpand.c,v 1.2 1997/08/20 11:05:28 charnier Exp $"; + "$Id: unexpand.c,v 1.3 1997/08/26 11:02:36 charnier Exp $"; #endif /* not lint */ /* @@ -50,6 +50,7 @@ static const char rcsid[] = */ #include #include +#include char genbuf[BUFSIZ]; char linebuf[BUFSIZ]; diff --git a/usr.bin/yacc/output.c b/usr.bin/yacc/output.c index cc893bb60b93..3d32c065d599 100644 --- a/usr.bin/yacc/output.c +++ b/usr.bin/yacc/output.c @@ -33,7 +33,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: output.c,v 1.8 1997/04/28 03:36:12 steve Exp $ + * $Id: output.c,v 1.9 1997/04/29 03:05:38 steve Exp $ */ #ifndef lint @@ -41,6 +41,7 @@ static char const sccsid[] = "@(#)output.c 5.7 (Berkeley) 5/24/93"; #endif /* not lint */ #include +#include #include "defs.h" static int default_goto __P((int)); diff --git a/usr.bin/ypmatch/ypmatch.c b/usr.bin/ypmatch/ypmatch.c index 1e71f8cc805a..25e4530146fa 100644 --- a/usr.bin/ypmatch/ypmatch.c +++ b/usr.bin/ypmatch/ypmatch.c @@ -29,7 +29,7 @@ #ifndef lint static const char rcsid[] = - "$Id$"; + "$Id: ypmatch.c,v 1.5 1997/08/29 11:52:52 charnier Exp $"; #endif /* not lint */ #include @@ -38,6 +38,7 @@ static const char rcsid[] = #include #include #include +#include #include #include