From arnej@mail.imf.unit.no  Tue Feb 18 06:17:16 1997
Received: from romberg.imf.unit.no (0@romberg.imf.unit.no [129.241.15.150])
          by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA05925
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 18 Feb 1997 06:17:00 -0800 (PST)
Received: from frida.imf.unit.no (frida.imf.unit.no [129.241.15.136]) by romberg.imf.unit.no (8.8.3/8.7.3) with ESMTP id PAA24579 for <FreeBSD-gnats-submit@freebsd.org>; Tue, 18 Feb 1997 15:16:47 +0100 (MET)
Received: (from arnej@localhost)
          by frida.imf.unit.no (8.8.5/8.8.4)
	  id PAA13943; Tue, 18 Feb 1997 15:16:47 +0100 (CET)
Message-Id: <199702181416.PAA13943@frida.imf.unit.no>
Date: Tue, 18 Feb 1997 15:16:47 +0100 (CET)
From: Arne Henrik Juul <arnej@imf.unit.no>
Reply-To: arnej@imf.unit.no
To: FreeBSD-gnats-submit@freebsd.org
Subject: Several files lack include of string.h
X-Send-Pr-Version: 3.2

>Number:         2759
>Category:       bin
>Synopsis:       Several files lack include of string.h
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 18 06:20:02 PST 1997
>Closed-Date:    Thu Feb 20 15:11:37 PST 1997
>Last-Modified:  Thu Feb 20 15:11:56 PST 1997
>Originator:     Arne Henrik Juul
>Release:        FreeBSD 2.2-GAMMA i386
>Organization:
Norwegian University of Technology and Science
>Environment:
	Probably applies to both the 2.2-GAMMA and 3.0-current now (Feb 1997).
>Description:
	Several source files lack includes of string.h, thereby
	causing string functions to be implecitly declared as
	returning int.
>How-To-Repeat:
	#define NULL ((void *)0), then look for the warnings.
>Fix:
	Apply this patch:
Index: games/hangman/hangman.h
===================================================================
RCS file: /usr/cvs/src/games/hangman/hangman.h,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 hangman.h
--- hangman.h	1994/09/04 04:02:57	1.1.1.1
+++ hangman.h	1997/02/15 11:46:05
@@ -33,6 +33,7 @@
  *	@(#)hangman.h	8.1 (Berkeley) 5/31/93
  */
 
+# include	<string.h>
 # include	<curses.h>
 # include	<sys/types.h>
 # include	<sys/stat.h>
Index: libexec/ftpd/skey-stuff.c
===================================================================
RCS file: /usr/cvs/src/libexec/ftpd/skey-stuff.c,v
retrieving revision 1.6
diff -u -r1.6 skey-stuff.c
--- skey-stuff.c	1996/10/18 17:09:26	1.6
+++ skey-stuff.c	1997/02/16 17:07:29
@@ -4,6 +4,7 @@
  */
 
 #include <stdio.h>
+#include <string.h>
 #include <pwd.h>
 
 #include <skey.h>
Index: usr.sbin/bootparamd/bootparamd/bootparamd.c
===================================================================
RCS file: /usr/cvs/src/usr.sbin/bootparamd/bootparamd/bootparamd.c,v
retrieving revision 1.3
diff -u -r1.3 bootparamd.c
--- bootparamd.c	1995/07/25 22:44:13	1.3
+++ bootparamd.c	1997/02/16 17:35:33
@@ -15,6 +15,7 @@
 #include <rpcsvc/ypclnt.h>
 #include "bootparam_prot.h"
 #include <stdio.h>
+#include <string.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netdb.h>
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mpp 
State-Changed-When: Thu Feb 20 15:11:37 PST 1997 
State-Changed-Why:  
Suggest patch applied. 
>Unformatted:
