From owner-freebsd-bugs Tue Feb 18 06:20:12 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA06081 for bugs-outgoing; Tue, 18 Feb 1997 06:20:12 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA06071; Tue, 18 Feb 1997 06:20:04 -0800 (PST) Resent-Date: Tue, 18 Feb 1997 06:20:04 -0800 (PST) Resent-Message-Id: <199702181420.GAA06071@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, arnej@imf.unit.no 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 ; 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 ; 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 Reply-To: arnej@imf.unit.no To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/2759: Several files lack include of string.h Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 2759 >Category: bin >Synopsis: Several files lack include of string.h >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 18 06:20:02 PST 1997 >Last-Modified: >Originator: Arne Henrik Juul >Organization: Norwegian University of Technology and Science >Release: FreeBSD 2.2-GAMMA i386 >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 # include # include # include 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 +#include #include #include 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 #include "bootparam_prot.h" #include +#include #include #include #include >Audit-Trail: >Unformatted: