From owner-cvs-src@FreeBSD.ORG Mon Jul 7 07:40:49 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31B4237B401; Mon, 7 Jul 2003 07:40:49 -0700 (PDT) Received: from chiark.greenend.org.uk (chiark.greenend.org.uk [193.201.200.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AF3C43FBD; Mon, 7 Jul 2003 07:40:48 -0700 (PDT) (envelope-from fanf@chiark.greenend.org.uk) Received: by chiark.greenend.org.uk (Debian Exim 3.35 #1) with local id 19ZXAT-0003kc-00; Mon, 07 Jul 2003 15:40:37 +0100 Date: Mon, 7 Jul 2003 15:40:37 +0100 From: Tony Finch To: Bruce Evans Message-ID: <20030707144037.GA30539@chiark.greenend.org.uk> References: <200307061244.h66CiBqg079835@repoman.freebsd.org> <20030707003216.GI72093@elvis.mu.org> <20030707200516.E7247@gamplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030707200516.E7247@gamplex.bde.org> User-Agent: Mutt/1.3.28i Sender: Tony Finch cc: cvs-src@FreeBSD.org cc: Alfred Perlstein cc: Garance A Drosihn cc: src-committers@FreeBSD.org cc: Philippe Charnier Subject: Re: cvs commit: src/usr.sbin/lpr/lpd lpd.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2003 14:40:49 -0000 On Mon, Jul 07, 2003 at 08:15:40PM +1000, Bruce Evans wrote: > On Sun, 6 Jul 2003, Garance A Drosihn wrote: > > > [ ignoring that question for the moment, why would I want > > to define __FBSDID as 'struct __hack'? ] > > You would have to define it as something non-null (if you didn't > remove it), since defining it to null would give a syntax error > for the ";" following it (if you didn't remove this instead). > "struct __hack" is a harmless non-null something which uses an > unusual (?) struct hack as an implementation detail. Though be warned that the identifier __hack is reserved so it would be better to choose something else for portability. Tony. -- f.a.n.finch http://dotat.at/ SOUTHEAST FITZROY: NORTH OR NORTHEAST 4 OR 5, OCCASIONALLY 6. FAIR. GOOD.