summaryrefslogtreecommitdiff
path: root/block.c
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2023-02-06 19:37:26 -0800
committerPreston Pan <preston@nullring.xyz>2023-02-06 19:37:26 -0800
commit3088717fca8571c3078ed0d35c11849cabe0799e (patch)
tree8b1f3b55730f4c42797ddea20f56819bd19276d2 /block.c
parent4cb7cbd3734205bb923c65290e73fe47c85f86a4 (diff)
fixed
Diffstat (limited to 'block.c')
-rw-r--r--block.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block.c b/block.c
index 2f4d36c..08f8494 100644
--- a/block.c
+++ b/block.c
@@ -2,7 +2,7 @@
#include "block.h"
#include "config.h"
-block_t *init_block(int type)
+block_t *init_block(int type, int width)
{
block_t *block = malloc(sizeof(block_t));
block->type = type;