diff options
| author | Federico Angelilli <code@fedang.net> | 2024-11-24 12:37:39 +0100 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2024-11-24 12:37:39 +0100 |
| commit | 57f91ef34cb8a8a1db2c18b468165a4273f13fa8 (patch) | |
| tree | e1f1bbd1b674e1cde68271c8a66276d407bb9080 /src/blocks/text.c | |
| parent | 9ff1b4a86bd44d4dfe984de41a85062c2b014655 (diff) | |
Refactor
Diffstat (limited to 'src/blocks/text.c')
| -rw-r--r-- | src/blocks/text.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blocks/text.c b/src/blocks/text.c index 3eba8f4..be4c398 100644 --- a/src/blocks/text.c +++ b/src/blocks/text.c @@ -2,7 +2,7 @@ #include "../any_log.h" -static void block_text_init(block_t *block, const block_scheme_t *scheme) +static void block_text_init(block_t *block) { block->type = BLOCK_TEXT; } @@ -13,7 +13,7 @@ static void block_text_clean(block_t *block) free(text->text); } -static int block_text_validate(block_t *block, const block_scheme_t *scheme) +static int block_text_validate(block_t *block) { block_text_t *text = (block_text_t *)block; int errors = 0; |
