* src/checkpoint.c (checkpoint_total_format):
Now const, and local to format_checkpoint_string.
}
}
-static const char *checkpoint_total_format[] = {
- "R",
- "W",
- "D"
-};
-
static intmax_t
getwidth (FILE *fp)
{
case 'T':
{
- const char **fmt = checkpoint_total_format, *fmtbuf[3];
+ static char const *const checkpoint_total_format[]
+ = { "R", "W", "D" };
+ char const *const *fmt = checkpoint_total_format, *fmtbuf[3];
struct wordsplit ws;
compute_duration_ns ();