"once" vs "twice" vs "17 times", used in several places */
| 359 | |
| 360 | /* "once" vs "twice" vs "17 times", used in several places */ |
| 361 | staticfn char * |
| 362 | N_times(long n, char *outbuf) |
| 363 | { |
| 364 | switch (n) { |
| 365 | case 0: |
| 366 | default: |
| 367 | Sprintf(outbuf, "%ld times", n); |
| 368 | break; |
| 369 | case 1: |
| 370 | Strcpy(outbuf, "once"); |
| 371 | break; |
| 372 | case 2: |
| 373 | Strcpy(outbuf, "twice"); |
| 374 | break; |
| 375 | case 3: |
| 376 | Strcpy(outbuf, "thrice"); |
| 377 | break; |
| 378 | } |
| 379 | return outbuf; |
| 380 | } |
| 381 | |
| 382 | void |
| 383 | enlightenment( |
no outgoing calls
no test coverage detected