From owner-freebsd-bugs Mon Aug 21 18:20:05 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id SAA23563 for bugs-outgoing; Mon, 21 Aug 1995 18:20:05 -0700 Received: (from gnats@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id SAA23553 ; Mon, 21 Aug 1995 18:20:03 -0700 Resent-Date: Mon, 21 Aug 1995 18:20:03 -0700 Resent-Message-Id: <199508220120.SAA23553@freefall.FreeBSD.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, kieber@sax.sax.de Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.FreeBSD.org (8.6.11/8.6.6) with SMTP id SAA23378 for ; Mon, 21 Aug 1995 18:17:05 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA20975; Tue, 22 Aug 1995 03:17:02 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) id DAA01394; Tue, 22 Aug 1995 03:17:01 +0200 Message-Id: <199508220117.DAA01394@sax.sax.de> Date: Tue, 22 Aug 1995 03:17:01 +0200 From: kieber@sax.sax.de Reply-To: kieber@sax.sax.de To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/704: redundant redeclaration of `inet_ntoa' Sender: bugs-owner@freebsd.org Precedence: bulk >Number: 704 >Category: kern >Synopsis: redundant redeclaration of `inet_ntoa' >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 21 18:20:02 PDT 1995 >Last-Modified: >Originator: Ulf Kieber >Organization: SaxNet e. V. >Release: FreeBSD 2.0-BUILT-19950603 i386 >Environment: FreeBSD sax.sax.de 2.0.5-RELEASE FreeBSD 2.0.5-RELEASE #1: Mon Aug 14 21:18:11 MET DST 1995 root@sax.sax.de:/usr/src/sys/compile/SAX i386 >Description: During kernel compile: cc -c -O -pipe -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -nostdinc -I. -I../.. -I../../sys -I/usr/include -DSAX -DI486_CPU -DFAT_CURSOR -DPCVT_VT220KEYB -DMONO_KERNEL_FG=FG_LIGHTGREY -DPCVT_FREEBSD=210 -DQUOTA -DIPACCT -DCOMCONSOLE -DGATEWAY -DSYSVMSG -DSYSVSEM -DSYSVSHM -DDUMMY_NOPS -DAUTO_EOI_2 -DAUTO_EOI_1 -DBOUNCE_BUFFERS -DSCSI_REPORT_GEOMETRY -DP2P_LOCALADDR_SHARE -DCOMPAT_43 -DPROCFS -DCD9660 -DNFS -DFFS -DINET -DKERNEL -Di386 -DLOAD_ADDRESS=0xF0100000 ../../netinet/ip_fw.c In file included from ../../netinet/ip_fw.c:41: /usr/include/arpa/inet.h:50: warning: redundant redeclaration of `inet_ntoa' in same scope ../../netinet/in.h:257: warning: previous declaration of `inet_ntoa' >How-To-Repeat: In your kernel config file options IPACCT then cd /sys/i386/conf config cd ../../compile/ make depend make >Fix: Lift the dependency of /sys/netinet/ip_fw.c in /usr/include/arpa/inet.h: *** ip_fw.c.orig Tue May 30 10:09:38 1995 --- ip_fw.c Tue Aug 22 03:13:28 1995 *************** *** 38,45 **** #include #include - #include - #include #ifdef IPFIREWALL_DEBUG --- 38,43 ---- >Audit-Trail: >Unformatted: