| 3176 | } |
| 3177 | |
| 3178 | RESTORE_WARNING_FORMAT_NONLITERAL |
| 3179 | |
| 3180 | /* |
| 3181 | * align_str(), piousness(), mstatusline() and ustatusline() once resided |
| 3182 | * in pline.c, then got moved to priest.c just to be out of there. They |
| 3183 | * fit better here. |
| 3184 | */ |
| 3185 | |
| 3186 | const char * |
| 3187 | align_str(aligntyp alignment) |
| 3188 | { |
| 3189 | switch ((int) alignment) { |
| 3190 | case A_CHAOTIC: |
| 3191 | return "chaotic"; |
| 3192 | case A_NEUTRAL: |
| 3193 | return "neutral"; |
| 3194 | case A_LAWFUL: |
| 3195 | return "lawful"; |
| 3196 | case A_NONE: |
| 3197 | return "unaligned"; |
| 3198 | } |
| 3199 | return "unknown"; |
| 3200 | } |
| 3201 | |
| 3202 | staticfn char * |
| 3203 | size_str(int msize) |
no outgoing calls
no test coverage detected