Date: Sun, 06 Dec 1998 20:13:47 +0100 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: Archie Cobbs <archie@whistle.com> Cc: bde@zeta.org.au, cvs-committers@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: getting to -Wunused Message-ID: <54790.912971627@critter.freebsd.dk> In-Reply-To: Your message of "Sun, 06 Dec 1998 10:57:53 PST." <199812061857.KAA13176@bubba.whistle.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <199812061857.KAA13176@bubba.whistle.com>, Archie Cobbs writes: >Poul-Henning Kamp writes: >> >You should check for variables that are used in ifdefed code and ifdef >> >the variables. >> >> See also: src/tools/tools/kernxref/* > >Cool.. we can make "Step 5" the removal of non-static unused functions :-) >By the way, I neede to add "-aout": Sure, go ahead and commit it. > >Index: kernxref.sh >=================================================================== >RCS file: /home/ncvs/src/tools/tools/kernxref/kernxref.sh,v >retrieving revision 1.9 >diff -u -r1.9 kernxref.sh >--- kernxref.sh 1998/11/27 10:18:56 1.9 >+++ kernxref.sh 1998/12/06 18:57:57 >@@ -13,7 +13,7 @@ > # kernel. > > cd /sys/compile/LINT >-nm -gon `echo *.o /lkm/*.o | tr ' ' '\012' | egrep -v '(aicasm|genassym)'` | >+nm -aout -gon `echo *.o /lkm/*.o | tr ' ' '\012' | egrep -v '(aicasm|genassym)'` | > tr : ' ' | awk ' > NF > 1 { > if (length($2) == 8) { > >-Archie > >___________________________________________________________________________ >Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com > -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." "ttyv0" -- What UNIX calls a $20K state-of-the-art, 3D, hi-res color terminal To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54790.912971627>