mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-05 01:30:43 +00:00
Take advantage of the common_source/lp.cdefs.h file to change lpr
source to use __FBSDID() for setting rcsids. Also fix the format of 'sccsid' lines to consistently match style(9) guidelines. Reviewed by: discussed with bde and obrien MFC after: 15 days
This commit is contained in:
parent
b9ec9b4d77
commit
1f589b4737
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=117541
@ -36,13 +36,11 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
/*
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)common.c 8.5 (Berkeley) 4/28/95";
|
||||
*/
|
||||
static const char rcsid[] =
|
||||
"$FreeBSD$";
|
||||
#endif /* not lint */
|
||||
#endif
|
||||
#include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/stat.h>
|
||||
|
@ -31,10 +31,8 @@
|
||||
* ------+---------+---------+---------+---------+---------+---------+---------*
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
static const char rcsid[] =
|
||||
"$FreeBSD$";
|
||||
#endif /* not lint */
|
||||
#include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
/*
|
||||
* ctlinfo - This collection of routines will know everything there is to
|
||||
|
@ -64,7 +64,7 @@ struct cjobinfo {
|
||||
struct cjprivate *cji_priv;
|
||||
};
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */
|
||||
|
||||
__BEGIN_DECLS
|
||||
void ctl_freeinf(struct cjobinfo *_cjinf);
|
||||
|
@ -31,13 +31,11 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
/*
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)displayq.c 8.4 (Berkeley) 4/28/95";
|
||||
*/
|
||||
static const char rcsid[] =
|
||||
"$FreeBSD$";
|
||||
#endif /* not lint */
|
||||
#endif
|
||||
#include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/stat.h>
|
||||
|
@ -253,7 +253,7 @@ typedef enum { TR_SENDING, TR_RECVING, TR_PRINTING } tr_sendrecv;
|
||||
#define CMD_SHOWQ_LONG '\4'
|
||||
#define CMD_RMJOB '\5'
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */
|
||||
|
||||
__BEGIN_DECLS
|
||||
struct dirent;
|
||||
|
@ -32,10 +32,8 @@
|
||||
* ------+---------+---------+---------+---------+---------+---------+---------*
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
static const char rcsid[] =
|
||||
"$FreeBSD$";
|
||||
#endif /* not lint */
|
||||
#include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
/*
|
||||
* movejobs.c - The lpc commands which move jobs around.
|
||||
|
@ -84,7 +84,8 @@ STAILQ_HEAD(jobspec_hdr, jobspec);
|
||||
#define SCQ_JSORDER 0x0001 /* follow the user-specified order */
|
||||
#define SCQ_QORDER 0x0002 /* the order of jobs in the queue */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */
|
||||
|
||||
__BEGIN_DECLS
|
||||
struct jobqueue;
|
||||
|
||||
|
@ -38,10 +38,8 @@
|
||||
* From: @(#)common.c 8.5 (Berkeley) 4/28/95
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
static const char rcsid[] =
|
||||
"$FreeBSD$";
|
||||
#endif /* not lint */
|
||||
#include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/socket.h>
|
||||
|
@ -38,10 +38,8 @@
|
||||
* From: @(#)common.c 8.5 (Berkeley) 4/28/95
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
static const char rcsid[] =
|
||||
"$FreeBSD$";
|
||||
#endif /* not lint */
|
||||
#include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
|
@ -29,8 +29,8 @@
|
||||
|
||||
static const char copyright[] =
|
||||
"Copyright (C) 1997, Massachusetts Institute of Technology\r\n";
|
||||
static const char rcsid[] =
|
||||
"$FreeBSD$";
|
||||
#include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
@ -31,13 +31,11 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)rmjob.c 8.2 (Berkeley) 4/28/95";
|
||||
#endif
|
||||
static const char rcsid[] =
|
||||
"$FreeBSD$";
|
||||
#endif /* not lint */
|
||||
#include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/uio.h>
|
||||
|
@ -31,14 +31,11 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)startdaemon.c 8.2 (Berkeley) 4/17/94";
|
||||
#endif
|
||||
static const char rcsid[] =
|
||||
"$FreeBSD$";
|
||||
#endif /* not lint */
|
||||
|
||||
#include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/socket.h>
|
||||
|
Loading…
Reference in New Issue
Block a user