diff options
Diffstat (limited to 'src/config.h')
| -rw-r--r-- | src/config.h | 7 |
1 files changed, 3 insertions, 4 deletions
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 <stdint.h> #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; |
