| 155 | /* FIXME: Currently unused. */ |
| 156 | #if 0 |
| 157 | static void header(int row, const char *str) |
| 158 | { |
| 159 | char buf[SCREEN_X]; |
| 160 | char *ptr = buf; |
| 161 | int i; |
| 162 | int len = strlen(str) + 4; |
| 163 | |
| 164 | for (i = 0; i < (SCREEN_X - len) / 2; i++) |
| 165 | ptr += sprintf(ptr, "="); |
| 166 | |
| 167 | ptr += sprintf(ptr, "[ %s ]", str); |
| 168 | |
| 169 | for (i = ((SCREEN_X - len) / 2) + len; i < SCREEN_X; i++) |
| 170 | ptr += sprintf(ptr, "="); |
| 171 | |
| 172 | mvprintw(row, 0, buf); |
| 173 | } |
| 174 | #endif |
| 175 | |
| 176 | static void redraw_module(struct coreinfo_cat *cat) |
no test coverage detected