More changes to use __FBSDID() for setting rcsids, and fix the

format of 'sccsid' lines so they consistently match style(9)
guidelines.  Inspired by recent update to lpd.c by charnier.

Reviewed by:	discussed on cvs-src & with bde and obrien
MFC after:	15 days
This commit is contained in:
gad 2003-07-14 15:54:41 +00:00
parent fc88102110
commit ccda7f86dd
6 changed files with 19 additions and 26 deletions

View File

@ -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 */

View File

@ -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$");
/*

View File

@ -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

View File

@ -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>

View File

@ -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.

View File

@ -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