Subject: Part 19 of 22 /boot,/mdec,[T]MSCP updates Index: /sys/, /usr/src/etc/ 2.11BSD Description: Repeat-By: Fix: See part 0 (the README) for the Description, the Reason and the instructions on how update your system. This is part 19 of 22 'restor' had size reduction changes made so the standalone version would fit withing 48kb. extra register variables were declared to reduce the size of the generated code. *** /usr/src/etc/restor/restor.c.old Mon Apr 30 09:22:05 1990 --- /usr/src/etc/restor/restor.c Sat Apr 13 17:02:58 1991 *************** *** 107,113 **** extern long lseek(); main(argc, argv) ! char *argv[]; { register char *cp; char command; --- 107,113 ---- extern long lseek(); main(argc, argv) ! register char *argv[]; { register char *cp; char command; *************** *** 179,185 **** int xtrfile(), skip(), null(); #endif int rstrfile(), rstrskip(); ! struct dinode *ip, *ip1; #ifndef STANDALONE if ((mt = open(magtape, 0)) < 0) { --- 179,185 ---- int xtrfile(), skip(), null(); #endif int rstrfile(), rstrskip(); ! register struct dinode *ip, *ip1; #ifndef STANDALONE if ((mt = open(magtape, 0)) < 0) { *************** *** 633,639 **** char *n; { register char *cp, *cp1; ! char c; ino = ROOTINO; if (*(cp = n) == '/') --- 633,639 ---- char *n; { register char *cp, *cp1; ! register char c; ino = ROOTINO; if (*(cp = n) == '/') *************** *** 863,869 **** daddr_t bn; { register i; ! int j, sh; daddr_t nb, nnb; daddr_t indir[NINDIR]; --- 863,869 ---- daddr_t bn; { register i; ! register int j, sh; daddr_t nb, nnb; daddr_t indir[NINDIR]; *************** *** 1229,1235 **** * read a bit mask from the tape into m. */ readbits(m) ! short *m; { register i; --- 1229,1235 ---- * read a bit mask from the tape into m. */ readbits(m) ! register short *m; { register i;