projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove needless declaration
[unix-history]
/
usr
/
src
/
usr.sbin
/
lpr
/
common_source
/
displayq.c
diff --git
a/usr/src/usr.sbin/lpr/common_source/displayq.c
b/usr/src/usr.sbin/lpr/common_source/displayq.c
index
e08c274
..
d7ae1bc
100644
(file)
--- a/
usr/src/usr.sbin/lpr/common_source/displayq.c
+++ b/
usr/src/usr.sbin/lpr/common_source/displayq.c
@@
-16,7
+16,7
@@
*/
#ifndef lint
*/
#ifndef lint
-static char sccsid[] = "@(#)displayq.c 5.1
1
(Berkeley) %G%";
+static char sccsid[] = "@(#)displayq.c 5.1
2
(Berkeley) %G%";
#endif /* not lint */
/*
#endif /* not lint */
/*
@@
-120,8
+120,6
@@
displayq(format)
if (fp == NULL)
warn();
else {
if (fp == NULL)
warn();
else {
- register char *cp;
-
/* get daemon pid */
cp = current;
while ((*cp = getc(fp)) != EOF && *cp != '\n')
/* get daemon pid */
cp = current;
while ((*cp = getc(fp)) != EOF && *cp != '\n')