-char title[80]; /* ``pr'' title */
-FILE *cfp; /* control file */
-int pfd; /* printer file descriptor */
-int ofd; /* output filter file descriptor */
-int lfd; /* lock file descriptor */
-int pid; /* pid of lpd process */
-int prchild; /* id of pr process */
-int child; /* id of any filters */
-int ofilter; /* id of output filter, if any */
-int tof = 1; /* top of form; init true if open does ff */
-int remote; /* non zero if sending files to remote */
+static char title[80]; /* ``pr'' title */
+static FILE *cfp; /* control file */
+static int pfd; /* printer file descriptor */
+static int ofd; /* output filter file descriptor */
+static int lfd; /* lock file descriptor */
+static int pid; /* pid of lpd process */
+static int prchild; /* id of pr process */
+static int child; /* id of any filters */
+static int ofilter; /* id of output filter, if any */
+static int tof; /* true if at top of form */
+static int count; /* Number of files actually printed */
+static int remote; /* true if sending files to remote */