summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr
diff options
context:
space:
mode:
authorgad <gad@FreeBSD.org>2003-07-15 07:01:01 +0000
committergad <gad@FreeBSD.org>2003-07-15 07:01:01 +0000
commit2a4873e853f45748cb1bf33254638f38f3498cf1 (patch)
tree40ccbbd16fc629193b878cbc153954f15690e308 /usr.sbin/lpr
parentfde5aef89539b1ff4f65b4210af5058d160c787e (diff)
downloadFreeBSD-src-2a4873e853f45748cb1bf33254638f38f3498cf1.zip
FreeBSD-src-2a4873e853f45748cb1bf33254638f38f3498cf1.tar.gz
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
Diffstat (limited to 'usr.sbin/lpr')
-rw-r--r--usr.sbin/lpr/filters.ru/koi2855/Makefile2
-rw-r--r--usr.sbin/lpr/filters.ru/koi2855/koi2855.c5
-rw-r--r--usr.sbin/lpr/filters.ru/koi2alt/Makefile2
-rw-r--r--usr.sbin/lpr/filters.ru/koi2alt/koi2alt.c5
-rw-r--r--usr.sbin/lpr/filters/Makefile2
-rw-r--r--usr.sbin/lpr/filters/lpf.c11
6 files changed, 18 insertions, 9 deletions
diff --git a/usr.sbin/lpr/filters.ru/koi2855/Makefile b/usr.sbin/lpr/filters.ru/koi2855/Makefile
index 9bc28cd..6895b79 100644
--- a/usr.sbin/lpr/filters.ru/koi2855/Makefile
+++ b/usr.sbin/lpr/filters.ru/koi2855/Makefile
@@ -3,4 +3,6 @@
PROG= koi2855
NOMAN= #true
+CFLAGS+= -I${.CURDIR}/../../common_source
+
.include <bsd.prog.mk>
diff --git a/usr.sbin/lpr/filters.ru/koi2855/koi2855.c b/usr.sbin/lpr/filters.ru/koi2855/koi2855.c
index 9bab247..8ecc3ef 100644
--- a/usr.sbin/lpr/filters.ru/koi2855/koi2855.c
+++ b/usr.sbin/lpr/filters.ru/koi2855/koi2855.c
@@ -23,10 +23,11 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $FreeBSD$
*/
+#include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */
+__FBSDID("$FreeBSD$");
+
/*
* KOI8-R -> CP855 conversion filter (Russian character sets)
*/
diff --git a/usr.sbin/lpr/filters.ru/koi2alt/Makefile b/usr.sbin/lpr/filters.ru/koi2alt/Makefile
index 3af814f..1e4e30d 100644
--- a/usr.sbin/lpr/filters.ru/koi2alt/Makefile
+++ b/usr.sbin/lpr/filters.ru/koi2alt/Makefile
@@ -3,4 +3,6 @@
PROG= koi2alt
NOMAN= #true
+CFLAGS+= -I${.CURDIR}/../../common_source
+
.include <bsd.prog.mk>
diff --git a/usr.sbin/lpr/filters.ru/koi2alt/koi2alt.c b/usr.sbin/lpr/filters.ru/koi2alt/koi2alt.c
index ea4d2be..a7a5b5d 100644
--- a/usr.sbin/lpr/filters.ru/koi2alt/koi2alt.c
+++ b/usr.sbin/lpr/filters.ru/koi2alt/koi2alt.c
@@ -22,10 +22,11 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $FreeBSD$
*/
+#include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */
+__FBSDID("$FreeBSD$");
+
/*
* KOI8-R -> CP866 conversion filter (Russian character sets)
*/
diff --git a/usr.sbin/lpr/filters/Makefile b/usr.sbin/lpr/filters/Makefile
index c8bdca7..100022d 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 7c759bb..41879a2 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
OpenPOWER on IntegriCloud