missed a few registers

This commit is contained in:
Warner Losh 2002-02-02 07:09:30 +00:00
parent f789b2611b
commit b75c76877e

View File

@ -76,8 +76,8 @@ void usage(void);
int int
main(int argc, char *argv[]) main(int argc, char *argv[])
{ {
register int baselen, len, rval; int baselen, len, rval;
register char *p, *endp; char *p, *endp;
struct stat sb; struct stat sb;
int ch; int ch;
char path[PATH_MAX]; char path[PATH_MAX];
@ -234,7 +234,7 @@ fastcopy(char *from, char *to, struct stat *sbp)
static u_int blen; static u_int blen;
static char *bp; static char *bp;
mode_t oldmode; mode_t oldmode;
register int nread, from_fd, to_fd; int nread, from_fd, to_fd;
if ((from_fd = open(from, O_RDONLY, 0)) < 0) { if ((from_fd = open(from, O_RDONLY, 0)) < 0) {
warn("%s", from); warn("%s", from);