cvs commit: src/usr.sbin/lpr/common_source lp.cdefs.h
Garance A Drosehn
gad at FreeBSD.org
Sun Jul 13 22:13:56 PDT 2003
gad 2003/07/13 22:13:55 PDT
FreeBSD src repository
Added files:
usr.sbin/lpr/common_source lp.cdefs.h
Log:
Introduce a new lp.cdefs.h file, which will be used to make it
somewhat easier to build this lpr on other operating systems.
This simply includes <sys/cdefs.h> when that is appropriate,
and then checks for any cdefs-ish macros that lpr uses, and
defines them if they don't already exist. This is only a start
at making freebsd's lpr less of a hassle to port. It is mainly
added so all of lpr can be changed to use the __FBSDID() macro,
without making it *more* of a hassle to build on other OS's.
Reviewed by: discussed with bde and obrien
MFC after: 15 days
Revision Changes Path
1.1 +107 -0 src/usr.sbin/lpr/common_source/lp.cdefs.h (new)
More information about the cvs-src
mailing list