summaryrefslogtreecommitdiffhomepage
path: root/examples/stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stack.c')
-rw-r--r--examples/stack.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/stack.c b/examples/stack.c
index de30c5b4..dedf1eb5 100644
--- a/examples/stack.c
+++ b/examples/stack.c
@@ -4,8 +4,9 @@
#include <stc/cstack.h>
declare_cvec(i, int);
+declare_cvec(c, char);
declare_cstack(i, cvec_i);
-declare_cstack(c, cstr);
+declare_cstack(c, cvec_c);
int main() {
cstack_i stack = cstack_i_init();