From owner-freebsd-stable Thu Nov 2 18:40:19 2000 Delivered-To: freebsd-stable@freebsd.org Received: from hand.dotat.at (sfo-gw.covalent.net [207.44.198.62]) by hub.freebsd.org (Postfix) with ESMTP id E44B937B682 for ; Thu, 2 Nov 2000 18:40:09 -0800 (PST) Received: from fanf by hand.dotat.at with local (Exim 3.15 #3) id 13rWlc-000IyM-00 for freebsd-stable@freebsd.org; Fri, 03 Nov 2000 02:39:44 +0000 Date: Fri, 3 Nov 2000 02:39:44 +0000 From: Tony Finch To: freebsd-stable@freebsd.org Subject: [PATCH] LINT breakage Message-ID: <20001103023944.L19089@hand.dotat.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i Organization: Covalent Technologies, Inc Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I started cvsup at Thu Nov 2 21:49:58 UTC 2000 cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I/FreeBSD/releng4/sys -I/FreeBSD/releng4/sys/../include -D_KERNEL -include opt_global.h -elf -fno-builtin -mpreferred-stack-boundary=2 /FreeBSD/releng4/sys/net/if_fddisubr.c /FreeBSD/releng4/sys/net/if_fddisubr.c: In function `fddi_resolvemulti': /FreeBSD/releng4/sys/net/if_fddisubr.c:607: warning: implicit declaration of function `MALLOC' /FreeBSD/releng4/sys/net/if_fddisubr.c:607: syntax error before `struct' /FreeBSD/releng4/sys/net/if_fddisubr.c:636: syntax error before `struct' /FreeBSD/releng4/sys/net/if_fddisubr.c:583: warning: `sdl' might be used uninitialized in this function *** Error code 1 Stop in /FreeBSD/obj/FreeBSD/releng4/sys/LINT. *** Error code 1 Stop in /FreeBSD/releng4. *** Error code 1 Stop in /FreeBSD/releng4. A fix is: Index: if_fddisubr.c =================================================================== RCS file: /home/ncvs/src/sys/net/if_fddisubr.c,v retrieving revision 1.41.2.3 diff -u -r1.41.2.3 if_fddisubr.c --- if_fddisubr.c 2000/11/01 17:21:09 1.41.2.3 +++ if_fddisubr.c 2000/11/03 02:38:10 @@ -43,6 +43,7 @@ #include #include +#include #include #include This depends on including so I'm not sure if it passes bdelint. Tony. -- en oeccget g mtcaa f.a.n.finch v spdlkishrhtewe y dot@dotat.at eatp o v eiti i d. fanf@covalent.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message