summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>1998-02-20 04:33:03 +0000
committerJohn Birrell <jb@FreeBSD.org>1998-02-20 04:33:03 +0000
commit5b116430fc5fabd5c0a78f28764a8e75d4469ba8 (patch)
treee90cbe91857b34d4437b355c12ccfb89bd01884a /usr.bin
parentc93bd87abaf313a0720490502f575158b9534a93 (diff)
downloadsrc-test2-5b116430fc5fabd5c0a78f28764a8e75d4469ba8.tar.gz
src-test2-5b116430fc5fabd5c0a78f28764a8e75d4469ba8.zip
Add #include <string.h> to get prototypes.
Notes
Notes: svn path=/head/; revision=33645
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/telnet/commands.c1
-rw-r--r--usr.bin/telnet/ring.c1
-rw-r--r--usr.bin/tftp/tftp.c3
-rw-r--r--usr.bin/unexpand/unexpand.c3
-rw-r--r--usr.bin/yacc/output.c3
-rw-r--r--usr.bin/ypmatch/ypmatch.c3
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 <fcntl.h>
#endif /* CRAY */
+#include <string.h>
#include <signal.h>
#include <netdb.h>
#include <ctype.h>
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 <stdio.h>
+#include <string.h>
#include <errno.h>
#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 <guyton@rand-unix> */
@@ -57,6 +57,7 @@ static const char rcsid[] =
#include <setjmp.h>
#include <signal.h>
#include <stdio.h>
+#include <string.h>
#include <unistd.h>
#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 <err.h>
#include <stdio.h>
+#include <string.h>
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 <stdlib.h>
+#include <string.h>
#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 <sys/param.h>
@@ -38,6 +38,7 @@ static const char rcsid[] =
#include <ctype.h>
#include <err.h>
#include <stdio.h>
+#include <string.h>
#include <unistd.h>
#include <rpc/rpc.h>