diff options
| author | Berke Güzel <wenekar1@gmail.com> | 2026-10-14 17:17:43 +0300 |
|---|---|---|
| committer | Berke Güzel <wenekar1@gmail.com> | 2026-10-14 17:17:43 +0300 |
| commit | 513bf031a589d9e2a1a2730adf56f95e5e316a06 (patch) | |
| tree | 66ef6b095e6aa00c790ac37705fb9df3b099b92a /src/hist.h | |
| parent | 234dd752dc2e15afab38cbbf78f8aa32be72ea5f (diff) | |
Remove unused private functions and inline trivial helpers
Diffstat (limited to 'src/hist.h')
| -rw-r--r-- | src/hist.h | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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 |
