* Return the element in the circular linked list just before the given * element. */
| 263 | * element. |
| 264 | */ |
| 265 | static struct line_element * |
| 266 | get_previous(struct line_element *mark) |
| 267 | { |
| 268 | struct line_element *curr; |
| 269 | |
| 270 | if (!mark) |
| 271 | return (struct line_element *) 0; |
| 272 | |
| 273 | for (curr = mark; curr->next != mark; curr = curr->next) |
| 274 | ; |
| 275 | return curr; |
| 276 | } |
| 277 | |
| 278 | /* |
| 279 | * Set the information buffer size to count lines. We do this by creating |