| # | Line 7 | Line 7 | static const char RCSid[] = "$Id"; | |
|---|---|---|
| 7 | ||
| 8 | #include "copyright.h" | |
| 9 | ||
| 10 | < | #include "ray.h" |
| 10 | > | #include <string.h> |
| 11 | ||
| 12 | + | #include "ray.h" |
| 13 | #include "source.h" | |
| 14 | ||
| 15 | /* | |
| # | Line 71 | Line 72 | register char *id; | |
| 72 | { | |
| 73 | register char *cp; | |
| 74 | /* check for relay sources */ | |
| 75 | < | while ((cp = index(id, RELAYDELIM)) != NULL) { |
| 75 | > | while ((cp = strchr(id, RELAYDELIM)) != NULL) { |
| 76 | if (!(sp->sflags & SVIRTUAL) || sp->so == NULL) | |
| 77 | return(0); | |
| 78 | if (strncmp(id, sp->so->oname, cp-id) || sp->so->oname[cp-id]) | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |