diff options
Diffstat (limited to 'usr.sbin/lpr')
-rw-r--r-- | usr.sbin/lpr/lpd/extern.h | 2 | ||||
-rw-r--r-- | usr.sbin/lpr/lpd/lpd.c | 4 | ||||
-rw-r--r-- | usr.sbin/lpr/lpd/lpdchar.c | 11 | ||||
-rw-r--r-- | usr.sbin/lpr/lpd/modes.c | 11 | ||||
-rw-r--r-- | usr.sbin/lpr/lpd/printjob.c | 10 | ||||
-rw-r--r-- | usr.sbin/lpr/lpd/recvjob.c | 7 |
6 files changed, 19 insertions, 26 deletions
diff --git a/usr.sbin/lpr/lpd/extern.h b/usr.sbin/lpr/lpd/extern.h index 497594e..14cb9e1 100644 --- a/usr.sbin/lpr/lpd/extern.h +++ b/usr.sbin/lpr/lpd/extern.h @@ -34,7 +34,7 @@ * $FreeBSD$ */ -#include <sys/cdefs.h> +#include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */ extern char scnkey[][HEIGHT]; /* in lpdchar.c */ extern int lflag; /* in lpd.c */ diff --git a/usr.sbin/lpr/lpd/lpd.c b/usr.sbin/lpr/lpd/lpd.c index e045e8f..9597a35 100644 --- a/usr.sbin/lpr/lpd/lpd.c +++ b/usr.sbin/lpr/lpd/lpd.c @@ -39,12 +39,10 @@ static const char copyright[] = #endif /* not lint */ #if 0 -#ifndef lint static char sccsid[] = "@(#)lpd.c 8.7 (Berkeley) 5/10/95"; -#endif /* not lint */ #endif -#include <sys/cdefs.h> +#include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */ __FBSDID("$FreeBSD$"); /* diff --git a/usr.sbin/lpr/lpd/lpdchar.c b/usr.sbin/lpr/lpd/lpdchar.c index ba39a9f..9705a96 100644 --- a/usr.sbin/lpr/lpd/lpdchar.c +++ b/usr.sbin/lpr/lpd/lpdchar.c @@ -31,13 +31,12 @@ * SUCH DAMAGE. */ -#ifndef lint -/* +#if 0 static char sccsid[] = "@(#)lpdchar.c 8.1 (Berkeley) 6/6/93"; -*/ -static const char rcsid[] = - "$FreeBSD$"; -#endif /* not lint */ +#endif + +#include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */ +__FBSDID("$FreeBSD$"); /* * Character set for line printer daemon diff --git a/usr.sbin/lpr/lpd/modes.c b/usr.sbin/lpr/lpd/modes.c index 2abac5a..db69893 100644 --- a/usr.sbin/lpr/lpd/modes.c +++ b/usr.sbin/lpr/lpd/modes.c @@ -31,13 +31,12 @@ * SUCH DAMAGE. */ -#ifndef lint -/* +#if 0 static char sccsid[] = "@(#)modes.c 8.3 (Berkeley) 4/2/94"; -*/ -static const char rcsid[] = - "$FreeBSD$"; -#endif /* not lint */ +#endif + +#include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */ +__FBSDID("$FreeBSD$"); #include <stddef.h> #include <string.h> diff --git a/usr.sbin/lpr/lpd/printjob.c b/usr.sbin/lpr/lpd/printjob.c index feab6bb..302687a 100644 --- a/usr.sbin/lpr/lpd/printjob.c +++ b/usr.sbin/lpr/lpd/printjob.c @@ -38,14 +38,12 @@ static const char copyright[] = The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ -#ifndef lint -/* +#if 0 static char sccsid[] = "@(#)printjob.c 8.7 (Berkeley) 5/10/95"; -*/ -static const char rcsid[] = - "$FreeBSD$"; -#endif /* not lint */ +#endif +#include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */ +__FBSDID("$FreeBSD$"); /* * printjob -- print jobs in the queue. diff --git a/usr.sbin/lpr/lpd/recvjob.c b/usr.sbin/lpr/lpd/recvjob.c index 69a654d..e15bad1 100644 --- a/usr.sbin/lpr/lpd/recvjob.c +++ b/usr.sbin/lpr/lpd/recvjob.c @@ -38,13 +38,12 @@ static const char copyright[] = The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ -#ifndef lint #if 0 static char sccsid[] = "@(#)recvjob.c 8.2 (Berkeley) 4/27/95"; #endif -static const char rcsid[] = - "$FreeBSD$"; -#endif /* not lint */ + +#include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */ +__FBSDID("$FreeBSD$"); /* * Receive printer jobs from the network, queue them and |