Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Jul 2003 08:59:36 +0100
From:      Mark Murray <mark@grondar.org>
To:        obrien@FreeBSD.org
Cc:        src-committers@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/lpr/lpd lpd.c ... 
Message-ID:  <200307070759.h677xbwc005698@grimreaper.grondar.org>
In-Reply-To: Your message of "Mon, 07 Jul 2003 00:47:22 PDT." <20030707074722.GA27746@dragon.nuxi.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
"David O'Brien" writes:
> > #include <sys/cdefs.h>
> > #ifdef __FBSDID
> > __FBSDID("$FreeBSD$");
> > #endif
> > 
> > might be better...
> 
> Not really -- Garance needed to deal with <sys/cdefs.h> not existing
> everywhere -- that was one of his key issues.

*.c:

#ifdef HAVE_SYS_CDEFS_H
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#endif /* HAVE_SYS_CDEFS_H */

Makefile:

CFLAGS+=	-DHAVE_SYS_CDEFS_H

M
--
Mark Murray
iumop ap!sdn w,I idlaH



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