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

Mark Murray mark at grondar.org
Mon Jul 7 00:58:20 PDT 2003


"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


More information about the cvs-src mailing list