From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Date: Fri, 25 Jan 2008 09:56:18 +0000 From: "Douglas A. Gwyn" Message-ID: <47991C15.D3E8C7EB@null.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <4E18292A-9BED-4167-ABAE-53C71F6B4B13@mac.com>, <20080124215156.A1F931E8C1C@holo.morphisms.net> Subject: Re: [9fans] Re: Building GCC Topicbox-Message-UUID: 37cb9dd8-ead3-11e9-9d60-3106f5b1d025 Russ Cox wrote: > If you have a function that takes an argument you > don't need to use, then simply delete the name of > the argument. Instead of > void nop(int s) { } > you write > void nop(int) { } > Or you insert USED(s). > Or you disable all warnings with -w. Note that you still need the #ifdef PLAN9 ... #endif, since that isn't standard C.