From 513bf031a589d9e2a1a2730adf56f95e5e316a06 Mon Sep 17 00:00:00 2001 From: Berke Güzel Date: Wed, 14 Oct 2026 17:17:43 +0300 Subject: Remove unused private functions and inline trivial helpers --- src/hist.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/hist.h') 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 -- cgit v1.2.3