| # | Line 12 | Line 12 | static char SCCSid[] = "$SunId$ LBL"; | |
|---|---|---|
| 12 | #include <ctype.h> | |
| 13 | ||
| 14 | extern char *eindex(), *expsave(), *malloc(); | |
| 15 | < | extern FILE *fropen(); |
| 15 | > | extern FILE *frlibopen(); |
| 16 | ||
| 17 | typedef struct lamp { | |
| 18 | char *pattern; /* search pattern */ | |
| # | Line 48 | Line 48 | char *file; | |
| 48 | char buf[128], str[128]; | |
| 49 | register char *cp1, *cp2; | |
| 50 | ||
| 51 | < | if ((fp = fropen(file)) == NULL) |
| 51 | > | if ((fp = frlibopen(file)) == NULL) |
| 52 | return(0); | |
| 53 | lastp = NULL; | |
| 54 | while (fgets(buf, sizeof(buf), fp) != NULL) { | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |