summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr/lptest/lptest.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/lpr/lptest/lptest.c')
-rw-r--r--usr.sbin/lpr/lptest/lptest.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/lpr/lptest/lptest.c b/usr.sbin/lpr/lptest/lptest.c
index 1cf2206..873f7e7 100644
--- a/usr.sbin/lpr/lptest/lptest.c
+++ b/usr.sbin/lpr/lptest/lptest.c
@@ -39,7 +39,11 @@ static char copyright[] =
#endif /* not lint */
#ifndef lint
+#if 0
static char sccsid[] = "@(#)lptest.c 8.1 (Berkeley) 6/6/93";
+#endif
+static const char rcsid[] =
+ "$FreeBSD$";
#endif /* not lint */
#include <stdlib.h>
@@ -49,12 +53,10 @@ static char sccsid[] = "@(#)lptest.c 8.1 (Berkeley) 6/6/93";
* lptest -- line printer test program (and other devices).
*/
int
-main(argc, argv)
- int argc;
- char **argv;
+main(int argc, char **argv)
{
int len, count;
- register i, j, fc, nc;
+ register int i, j, fc, nc;
char outbuf[BUFSIZ];
setbuf(stdout, outbuf);
OpenPOWER on IntegriCloud