From afcbe44a7cf454f3588a60180d93f65df9e5fcc7 Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Tue, 19 Nov 2024 11:17:50 +0100 Subject: Add byte human readable formatting --- src/format.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/format.h') diff --git a/src/format.h b/src/format.h index e5173de..d7f8976 100644 --- a/src/format.h +++ b/src/format.h @@ -18,8 +18,8 @@ typedef struct { typedef struct { format_pair_t option; - format_pair_t *prefixes; - format_pair_t *suffixes; + const format_pair_t *prefixes; + const format_pair_t *suffixes; } format_option_t; bool format_init(format_t *format, const char *string, char delim); -- cgit v1.2.3