slab: replace struct slab with slab_t

This type should never be modified by the user, and only passed into the
functions in slab.c. Using a typedef to notifies the user semantically
of this fact
This commit is contained in:
Michael Shaw 2023-05-19 16:49:34 -04:00
commit 29a0435cf6
13 changed files with 196 additions and 46 deletions

View file

@ -16,7 +16,7 @@ define DEFAULT_VAR =
endef
# User controllable CFLAGS.
CFLAGS ?= -g -O2 -pipe -Wall -Wextra
CFLAGS ?= -g -O0 -pipe -Wall -Wextra
# User controllable linker flags. We set none by default.
LDFLAGS ?=