cvs commit: src/usr.sbin/lpr/lpd lpd.c ...

Tony Finch dot at dotat.at
Mon Jul 7 07:40:49 PDT 2003


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 at dotat.at>  http://dotat.at/
SOUTHEAST FITZROY: NORTH OR NORTHEAST 4 OR 5, OCCASIONALLY 6. FAIR. GOOD.


More information about the cvs-src mailing list