Commit 9bbd1769 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Use const in list datatype

parent 786b35b2
......@@ -5,8 +5,8 @@
struct list {
uint8_t head;
uint8_t *array;
uint8_t sup;
uint8_t * const array;
const uint8_t sup;
#define INIT_LIST(name, size) \
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment