Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jul 2003 15:40:37 +0100
From:      Tony Finch <dot@dotat.at>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        Philippe Charnier <charnier@FreeBSD.org>
Subject:   Re: cvs commit: src/usr.sbin/lpr/lpd lpd.c ...
Message-ID:  <20030707144037.GA30539@chiark.greenend.org.uk>
In-Reply-To: <20030707200516.E7247@gamplex.bde.org>
References:  <200307061244.h66CiBqg079835@repoman.freebsd.org> <p0521064ebb2e5c8dd5e7@[128.113.24.47]> <20030707003216.GI72093@elvis.mu.org> <p05210650bb2e737f369a@[128.113.24.47]> <20030707200516.E7247@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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  <dot@dotat.at>  http://dotat.at/
SOUTHEAST FITZROY: NORTH OR NORTHEAST 4 OR 5, OCCASIONALLY 6. FAIR. GOOD.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030707144037.GA30539>