summaryrefslogtreecommitdiff
path: root/src/hist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hist.h')
-rw-r--r--src/hist.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/hist.h b/src/hist.h
index 74ccb09..3c90bde 100644
--- a/src/hist.h
+++ b/src/hist.h
@@ -159,12 +159,6 @@ static inline void text_row_unshare(struct text_row *row)
}
}
-/* The pen of the last cell of a text row. */
-static inline struct pen_attr text_row_last_pen(const struct text_row *row)
-{
- return row->runs.pen;
-}
-
/* Write the cells of a text row to out; return the cell count. */
int term_hist_text_decode(const struct text_row *row, struct cell *out, int cap, struct gstore *g);
void term_hist_text_mark_links(const struct text_row *row, void (*mark)(void *ud, uint16_t link), void *ud);
@@ -299,6 +293,5 @@ uint64_t term_hist_line_estimate(const struct hist *h, uint64_t id, int cols);
uint64_t term_hist_estimated_rows(const struct hist *h, int cols);
void term_hist_prepare_rows(struct hist *h, int cols);
void term_hist_refine_rows(struct hist *h, uint64_t id, int cols, int rows);
-bool term_hist_find_row(const struct hist *h, int target_row, int cols, uint64_t *out_id, int *out_seg);
#endif