| 631 | } |
| 632 | |
| 633 | DISABLE_WARNING_FORMAT_NONLITERAL /* one compiler complains about |
| 634 | result of ?: for format string */ |
| 635 | |
| 636 | /* make a signed digit string from a number */ |
| 637 | char * |
| 638 | sitoa(int n) |
| 639 | { |
| 640 | static char buf[13]; |
| 641 | |
| 642 | Sprintf(buf, (n < 0) ? "%d" : "+%d", n); |
| 643 | return buf; |
| 644 | } |
| 645 | |
| 646 | RESTORE_WARNING_FORMAT_NONLITERAL |
| 647 |
nothing calls this directly
no outgoing calls
no test coverage detected