summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2000-05-26 02:09:24 +0000
committerjake <jake@FreeBSD.org>2000-05-26 02:09:24 +0000
commit961b97d43458f3c57241940cabebb3bedf7e4c00 (patch)
tree6014972d9b90b4e3a8b20dbea641a88cf6355c13 /usr.sbin/lpr
parent06b64672180d9b04ae6d35db819c854df3c3c684 (diff)
downloadFreeBSD-src-961b97d43458f3c57241940cabebb3bedf7e4c00.zip
FreeBSD-src-961b97d43458f3c57241940cabebb3bedf7e4c00.tar.gz
Back out the previous change to the queue(3) interface.
It was not discussed and should probably not happen. Requested by: msmith and others
Diffstat (limited to 'usr.sbin/lpr')
-rw-r--r--usr.sbin/lpr/chkprintcap/chkprintcap.c4
-rw-r--r--usr.sbin/lpr/common_source/lp.h12
2 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/lpr/chkprintcap/chkprintcap.c b/usr.sbin/lpr/chkprintcap/chkprintcap.c
index 27ff7ca..8b84656 100644
--- a/usr.sbin/lpr/chkprintcap/chkprintcap.c
+++ b/usr.sbin/lpr/chkprintcap/chkprintcap.c
@@ -152,13 +152,13 @@ interpret_error(const struct printer *pp, int error)
* a single loop.
*/
struct dirlist {
- LIST_ENTRY(struct dirlist) link;
+ LIST_ENTRY(dirlist) link;
struct stat stab;
char *path;
char *printer;
};
-static LIST_HEAD(, struct dirlist) dirlist;
+static LIST_HEAD(, dirlist) dirlist;
static int
lessp(const struct dirlist *a, const struct dirlist *b)
diff --git a/usr.sbin/lpr/common_source/lp.h b/usr.sbin/lpr/common_source/lp.h
index e2bfc15..c7a960e 100644
--- a/usr.sbin/lpr/common_source/lp.h
+++ b/usr.sbin/lpr/common_source/lp.h
@@ -91,24 +91,24 @@ struct printer {
* reversed in process.
*/
struct req_user {
- TAILQ_ENTRY(struct req_user) ru_link; /* macro glue */
+ TAILQ_ENTRY(req_user) ru_link; /* macro glue */
char ru_uname[1]; /* name of user */
};
-TAILQ_HEAD(req_user_head, struct req_user);
+TAILQ_HEAD(req_user_head, req_user);
struct req_file {
- TAILQ_ENTRY(struct req_file) rf_link; /* macro glue */
+ TAILQ_ENTRY(req_file) rf_link; /* macro glue */
char rf_type; /* type (lowercase cf file letter) of file */
char *rf_prettyname; /* user-visible name of file */
char rf_fname[1]; /* name of file */
};
-TAILQ_HEAD(req_file_head, struct req_file);
+TAILQ_HEAD(req_file_head, req_file);
struct req_jobid {
- TAILQ_ENTRY(struct req_jobid) rj_link; /* macro glue */
+ TAILQ_ENTRY(req_jobid) rj_link; /* macro glue */
int rj_job; /* job number */
};
-TAILQ_HEAD(req_jobid_head, struct req_jobid);
+TAILQ_HEAD(req_jobid_head, req_jobid);
/*
* Encapsulate all the information relevant to a request in the
OpenPOWER on IntegriCloud