diff options
author | Garance A Drosehn <gad@FreeBSD.org> | 2003-07-15 07:01:01 +0000 |
---|---|---|
committer | Garance A Drosehn <gad@FreeBSD.org> | 2003-07-15 07:01:01 +0000 |
commit | fdc632c823eb299ced221bac49375f3e4660b423 (patch) | |
tree | 40ccbbd16fc629193b878cbc153954f15690e308 /usr.sbin/lpr/filters | |
parent | e90153536ed10f6ac035f00a3833ae96ad213edb (diff) | |
download | src-fdc632c823eb299ced221bac49375f3e4660b423.tar.gz src-fdc632c823eb299ced221bac49375f3e4660b423.zip |
More changes to use __FBSDID() for setting rcsids. For the filter
programs, minor Makefile changes are needed to find lp.cdefs.h.
For lpf.c, the 'sccsid' line is formatted to match style(9), and
a 'From:' is removed so the sccsid returns to what it was back
in the days of '-r CSRG' (1994).
Reviewed by: discussed with bde and obrien
MFC after: 15 days
Notes
Notes:
svn path=/head/; revision=117609
Diffstat (limited to 'usr.sbin/lpr/filters')
-rw-r--r-- | usr.sbin/lpr/filters/Makefile | 2 | ||||
-rw-r--r-- | usr.sbin/lpr/filters/lpf.c | 11 |
2 files changed, 8 insertions, 5 deletions
diff --git a/usr.sbin/lpr/filters/Makefile b/usr.sbin/lpr/filters/Makefile index c8bdca76821e..100022dfba5c 100644 --- a/usr.sbin/lpr/filters/Makefile +++ b/usr.sbin/lpr/filters/Makefile @@ -6,4 +6,6 @@ BINDIR= /usr/libexec/lpr PROG= lpf NOMAN= noman +CFLAGS+= -I${.CURDIR}/../common_source + .include <bsd.prog.mk> diff --git a/usr.sbin/lpr/filters/lpf.c b/usr.sbin/lpr/filters/lpf.c index 7c759bb050a9..41879a2ee58d 100644 --- a/usr.sbin/lpr/filters/lpf.c +++ b/usr.sbin/lpr/filters/lpf.c @@ -37,13 +37,14 @@ static const char copyright[] = The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ +#if 0 #ifndef lint -/* -static char sccsid[] = "From: @(#)lpf.c 8.1 (Berkeley) 6/6/93"; -*/ -static const char rcsid[] = - "$FreeBSD$"; +static char sccsid[] = "@(#)lpf.c 8.1 (Berkeley) 6/6/93"; #endif /* not lint */ +#endif + +#include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */ +__FBSDID("$FreeBSD$"); /* * filter which reads the output of nroff and converts lines |