From owner-freebsd-audit Tue Jul 17 12:36:41 2001 Delivered-To: freebsd-audit@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id A708837B401 for ; Tue, 17 Jul 2001 12:36:36 -0700 (PDT) (envelope-from des@ofug.org) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id VAA99250; Tue, 17 Jul 2001 21:36:31 +0200 (CEST) (envelope-from des@ofug.org) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: David Malone Cc: Mike Barcroft , audit@FreeBSD.ORG Subject: Re: inetd(8) warns patch References: <200107160951.aa79104@salmon.maths.tcd.ie> From: Dag-Erling Smorgrav Date: 17 Jul 2001 21:36:31 +0200 In-Reply-To: <200107160951.aa79104@salmon.maths.tcd.ie> Message-ID: Lines: 13 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG David Malone writes: > Looks fine to me, as long as __unused is considered acceptable in > our code. (I know you can get rid of the __unused for compilers > that don't understand it by using a #define, but if another compiler > denotes unused variables/parameters by "unused int blah;" then > you can't generate this statement.) __unused is already a macro. I believe the corresponding GCCism is __attribute__((__unused__)). DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message