Diff for /src/usr.sbin/lpr/lpd/recvjob.c between versions 1.2 and 1.3

version 1.2, 2003/06/17 04:29:56 version 1.3, 2004/03/22 22:32:50
Line 34 Line 34
  * @(#) Copyright (c) 1983, 1993 The Regents of the University of California.  All rights reserved.   * @(#) Copyright (c) 1983, 1993 The Regents of the University of California.  All rights reserved.
  * @(#)recvjob.c        8.2 (Berkeley) 4/27/95   * @(#)recvjob.c        8.2 (Berkeley) 4/27/95
  * $FreeBSD: src/usr.sbin/lpr/lpd/recvjob.c,v 1.14.2.13 2002/06/19 01:46:48 gad Exp $   * $FreeBSD: src/usr.sbin/lpr/lpd/recvjob.c,v 1.14.2.13 2002/06/19 01:46:48 gad Exp $
 * $DragonFly: src/usr.sbin/lpr/lpd/recvjob.c,v 1.1 2003/06/16 07:25:26 dillon Exp $ * $DragonFly$
  */   */
   
 /*  /*
Line 134  recvjob(const char *printer) Line 134  recvjob(const char *printer)
 static int  static int
 readjob(struct printer *pp)  readjob(struct printer *pp)
 {  {
        register int size;        int size;
         int cfcnt, dfcnt;          int cfcnt, dfcnt;
         char *cp, *clastp, *errmsg;          char *cp, *clastp, *errmsg;
         char givenid[32], givenhost[MAXHOSTNAMELEN];          char givenid[32], givenhost[MAXHOSTNAMELEN];
Line 244  readjob(struct printer *pp) Line 244  readjob(struct printer *pp)
 static int  static int
 readfile(struct printer *pp, char *file, size_t size)  readfile(struct printer *pp, char *file, size_t size)
 {  {
        register char *cp;        char *cp;
         char buf[BUFSIZ];          char buf[BUFSIZ];
         size_t amt, i;          size_t amt, i;
         int err, fd, j;          int err, fd, j;
Line 332  static int Line 332  static int
 read_number(const char *fn)  read_number(const char *fn)
 {  {
         char lin[80];          char lin[80];
        register FILE *fp;        FILE *fp;
   
         if ((fp = fopen(fn, "r")) == NULL)          if ((fp = fopen(fn, "r")) == NULL)
                 return (0);                  return (0);

Removed from v.1.2  
changed lines
  Added in v.1.3