| 459 | } |
| 460 | |
| 461 | int |
| 462 | nartifact_exist(void) |
| 463 | { |
| 464 | int i, a = 0; |
| 465 | |
| 466 | for (i = 1; i <= NROFARTIFACTS; ++i) |
| 467 | if (artiexist[i].exists) |
| 468 | ++a; |
| 469 | |
| 470 | return a; |
| 471 | } |
| 472 | |
| 473 | /* set artifact tracking flags; |
| 474 | calling sequence: oname() -> artifact_exists() -> artifact_origin() or |
no outgoing calls
no test coverage detected