From 852f1935601c797908decdf6e0506d3c4d59899a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 28 Aug 2026 14:50:00 +0200 Subject: [PATCH] shared/format-table: make one more function static --- src/shared/format-table.c | 2 +- src/shared/format-table.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/shared/format-table.c b/src/shared/format-table.c index 24dcddab1a..88d76b67f0 100644 --- a/src/shared/format-table.c +++ b/src/shared/format-table.c @@ -2172,7 +2172,7 @@ static const char* table_data_rgap_underline(const TableData *d) { return NULL; } -int table_data_requested_width(Table *table, size_t column, size_t *ret) { +static int table_data_requested_width(Table *table, size_t column, size_t *ret) { size_t width = 0; int r; diff --git a/src/shared/format-table.h b/src/shared/format-table.h index ebf447ed09..0907eeb698 100644 --- a/src/shared/format-table.h +++ b/src/shared/format-table.h @@ -144,8 +144,6 @@ int table_set_reverse(Table *t, size_t column, bool b); int table_hide_column_from_display_internal(Table *t, ...); #define table_hide_column_from_display(t, ...) table_hide_column_from_display_internal(t, __VA_ARGS__, SIZE_MAX) -int table_data_requested_width(Table *table, size_t column, size_t *ret); - int table_set_column_width(Table *t, size_t column, size_t width); int table_sync_all_column_widths(size_t column, Table **a);