From 9843c8735a5a886252858a848c473cb877875ef4 Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Sat, 16 Nov 2024 00:07:14 +0100 Subject: Link scheme with block --- src/config.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/config.h') diff --git a/src/config.h b/src/config.h index 48fd273..fef2cba 100644 --- a/src/config.h +++ b/src/config.h @@ -5,9 +5,8 @@ #include #include "util.h" -#include "block.h" -typedef struct config config_t; +typedef struct block block_t; typedef enum { CONFIG_STRING, @@ -28,7 +27,7 @@ typedef struct { size_t offset; } config_entry_t; -struct config { +typedef struct { size_t n_blocks; block_t **blocks; char *font; @@ -37,7 +36,7 @@ struct config { color_t background; unsigned int width; unsigned int height; -}; +} config_t; typedef struct { const char *label; -- cgit v1.2.3