look up a named fruit by index (1..127) */
| 428 | |
| 429 | /* look up a named fruit by index (1..127) */ |
| 430 | struct fruit * |
| 431 | fruit_from_indx(int indx) |
| 432 | { |
| 433 | struct fruit *f; |
| 434 | |
| 435 | for (f = gf.ffruit; f; f = f->nextf) |
| 436 | if (f->fid == indx) |
| 437 | break; |
| 438 | return f; |
| 439 | } |
| 440 | |
| 441 | /* look up a named fruit by name */ |
| 442 | struct fruit * |
no outgoing calls
no test coverage detected