| 3365 | } |
| 3366 | |
| 3367 | staticfn const char * |
| 3368 | seen_string(xint16 x, const char *obj) |
| 3369 | { |
| 3370 | /* players are computer scientists: 0, 1, 2, n */ |
| 3371 | switch (x) { |
| 3372 | case 0: |
| 3373 | return "no"; |
| 3374 | /* an() returns too much. index/strchr is ok in this case */ |
| 3375 | case 1: |
| 3376 | return strchr(vowels, *obj) ? "an" : "a"; |
| 3377 | case 2: |
| 3378 | return "some"; |
| 3379 | case 3: |
| 3380 | return "many"; |
| 3381 | } |
| 3382 | |
| 3383 | return "(unknown)"; |
| 3384 | } |
| 3385 | |
| 3386 | /* better br_string */ |
| 3387 | staticfn const char * |
nothing calls this directly
no outgoing calls
no test coverage detected