=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/file/Attic/apprentice.c,v retrieving revision 1.10 retrieving revision 1.11 diff -c -r1.10 -r1.11 *** src/usr.bin/file/Attic/apprentice.c 2000/06/30 16:00:13 1.10 --- src/usr.bin/file/Attic/apprentice.c 2001/11/19 19:02:13 1.11 *************** *** 1,4 **** ! /* $OpenBSD: apprentice.c,v 1.10 2000/06/30 16:00:13 millert Exp $ */ /* * apprentice - make one pass through /etc/magic, learning its secrets. --- 1,4 ---- ! /* $OpenBSD: apprentice.c,v 1.11 2001/11/19 19:02:13 mpech Exp $ */ /* * apprentice - make one pass through /etc/magic, learning its secrets. *************** *** 36,42 **** #include "file.h" #ifndef lint ! static char *moduleid = "$OpenBSD: apprentice.c,v 1.10 2000/06/30 16:00:13 millert Exp $"; #endif /* lint */ #define EATAB {while (isascii((unsigned char) *l) && \ --- 36,42 ---- #include "file.h" #ifndef lint ! static char *moduleid = "$OpenBSD: apprentice.c,v 1.11 2001/11/19 19:02:13 mpech Exp $"; #endif /* lint */ #define EATAB {while (isascii((unsigned char) *l) && \ *************** *** 425,438 **** */ static char * getstr(s, p, plen, slen) ! register char *s; ! register char *p; int plen, *slen; { char *origs = s, *origp = p; char *pmax = p + plen - 1; ! register int c; ! register int val; while ((c = *s++) != '\0') { if (isspace((unsigned char) c)) --- 425,438 ---- */ static char * getstr(s, p, plen, slen) ! char *s; ! char *p; int plen, *slen; { char *origs = s, *origp = p; char *pmax = p + plen - 1; ! int c; ! int val; while ((c = *s++) != '\0') { if (isspace((unsigned char) c)) *************** *** 547,553 **** const char *s; int len; { ! register char c; for (;;) { c = *s++; --- 547,553 ---- const char *s; int len; { ! char c; for (;;) { c = *s++;