From owner-freebsd-current Fri Dec 26 07:17:29 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA15779 for current-outgoing; Fri, 26 Dec 1997 07:17:29 -0800 (PST) (envelope-from owner-freebsd-current) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA15769 for ; Fri, 26 Dec 1997 07:17:23 -0800 (PST) (envelope-from toor@dyson.iquest.net) Received: (from root@localhost) by dyson.iquest.net (8.8.8/8.8.8) id KAA00718; Fri, 26 Dec 1997 10:17:09 -0500 (EST) (envelope-from toor) From: "John S. Dyson" Message-Id: <199712261517.KAA00718@dyson.iquest.net> Subject: Re: LINT breakage (/ufs/ufs/ufs_readwrite.c:296: `OBJ_OPT' undeclared) In-Reply-To: <19971226150735.36920@klemm.gtn.com> from Andreas Klemm at "Dec 26, 97 03:07:35 pm" To: andreas@klemm.gtn.com (Andreas Klemm) Date: Fri, 26 Dec 1997 10:17:09 -0500 (EST) Cc: current@freebsd.org X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Andreas Klemm said: > only wanted to let you know. > > /usr/bin/cc -c -pipe -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wuninitialized -nostdinc -I- -I. -I../.. -I../../../include -DSPX_HACK -DSIMPLELOCK_DEBUG -DSI_DEBUG -DSCSI_2_DEF -DNPX_DEBUG -DLOCKF_DEBUG -DDEBUG -DCLUSTERDEBUG -DBOOTP_COMPAT -DBOOTP_NFSV3 -DBOOTP_NFSROOT -DBOOTP -DPOWERFAIL_NMI -DNATM -DLINT_PCCARD_HACK -DFDSEEKWAIT=16 -DNSWAPDEV=20 -DMFS_AUTOLOAD -DMFS_ROOT=10 -DDEVFS -DLFS -DNQNFS -DNFS -DFFS -DTCP_COMPAT_42 -DNETATALK -DINET -DDIAGNOSTIC -DMD5 -DFAILSAFE -DKERNEL -include opt_global.h ../../ufs/lfs/lfs_vnops.c > ../../ufs/ufs/ufs_readwrite.c: In function `lfs_write': > In file included from ../../ufs/lfs/lfs_vnops.c:110: > ../../ufs/ufs/ufs_readwrite.c:296: dereferencing pointer to incomplete type > ../../ufs/ufs/ufs_readwrite.c:296: `OBJ_OPT' undeclared (first use this function) > ../../ufs/ufs/ufs_readwrite.c:296: (Each undeclared identifier is reported only once > ../../ufs/ufs/ufs_readwrite.c:296: for each function it appears in.) > ../../ufs/ufs/ufs_readwrite.c:297: dereferencing pointer to incomplete type > ../../ufs/ufs/ufs_readwrite.c:298: warning: implicit declaration of function `vm_freeze_copyopts' > ../../ufs/ufs/ufs_readwrite.c:299: warning: implicit declaration of function `OFF_TO_IDX' > *** Error code 1 > > Thanks, BDE has been bugging me about it also :-). -- John | Never try to teach a pig to sing, dyson@freebsd.org | it just makes you look stupid, jdyson@nc.com | and it irritates the pig.