diff options
author | gad <gad@FreeBSD.org> | 2003-07-15 08:45:06 +0000 |
---|---|---|
committer | gad <gad@FreeBSD.org> | 2003-07-15 08:45:06 +0000 |
commit | 33bafddbc518c46941c9af1efad83f6dd0c00be0 (patch) | |
tree | 39cf272dc22320cb0a2b6b75e117fda99dc720e3 | |
parent | 5bd49295ca4bb6b94219739e29862652a4178efa (diff) | |
download | FreeBSD-src-33bafddbc518c46941c9af1efad83f6dd0c00be0.zip FreeBSD-src-33bafddbc518c46941c9af1efad83f6dd0c00be0.tar.gz |
More changes to use __FBSDID() for setting rcsids, and fix the
format of 'sccsid' lines so they consistently match style(9).
A minor Makefile change is needed so lptest.c can find lp.cdefs.h.
Reviewed by: discussed with bde and obrien
MFC after: 15 days
-rw-r--r-- | usr.sbin/lpr/lptest/Makefile | 2 | ||||
-rw-r--r-- | usr.sbin/lpr/lptest/lptest.c | 9 |
2 files changed, 7 insertions, 4 deletions
diff --git a/usr.sbin/lpr/lptest/Makefile b/usr.sbin/lpr/lptest/Makefile index c02d7bd..65b1c7c 100644 --- a/usr.sbin/lpr/lptest/Makefile +++ b/usr.sbin/lpr/lptest/Makefile @@ -3,4 +3,6 @@ PROG= lptest +CFLAGS+= -I${.CURDIR}/../common_source + .include <bsd.prog.mk> diff --git a/usr.sbin/lpr/lptest/lptest.c b/usr.sbin/lpr/lptest/lptest.c index 9136d2c..c73b796 100644 --- a/usr.sbin/lpr/lptest/lptest.c +++ b/usr.sbin/lpr/lptest/lptest.c @@ -38,13 +38,14 @@ static const char copyright[] = The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ -#ifndef lint #if 0 +#ifndef lint static char sccsid[] = "@(#)lptest.c 8.1 (Berkeley) 6/6/93"; -#endif -static const char rcsid[] = - "$FreeBSD$"; #endif /* not lint */ +#endif + +#include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */ +__FBSDID("$FreeBSD$"); #include <stdlib.h> #include <stdio.h> |