Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2003 19:03:14 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Garance A Drosihn <drosih@rpi.edu>
Cc:        Philippe Charnier <charnier@FreeBSD.org>
Subject:   Re: cvs commit: src/usr.sbin/lpr/lpd lpd.c ...
Message-ID:  <20030708190219.B10890@gamplex.bde.org>
In-Reply-To: <p05210653bb2f6045b577@[128.113.24.47]>
References:  <200307061244.h66CiBqg079835@repoman.freebsd.org> <20030707003216.GI72093@elvis.mu.org> <20030707200516.E7247@gamplex.bde.org> <p05210653bb2f6045b577@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 7 Jul 2003, Garance A Drosihn wrote:

> At 8:15 PM +1000 7/7/03, 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).
>
> Ah.  Hmm.  I notice that in sys/cdefs.h we do use 'struct __hack'
> for __FBSDID, but not for the do-nothing versions of __RCSID,
> __SCCSID, __COPYRIGHT, etc.

Excellent.  This shows that these bogus macros were not meant to be used :-).

Bruce



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