summaryrefslogtreecommitdiffhomepage
path: root/examples/splitstr.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-09-08 22:27:45 +0200
committerTyge Løvset <[email protected]>2021-09-08 22:27:45 +0200
commit26152f06399506bf5bca823f42ed3089ce404aa8 (patch)
treea2b282fc0d651298ed8ff5f551c0506d8cda4062 /examples/splitstr.c
parentc86e3d30299baea44f98f153c4b01ea5e244feaa (diff)
downloadSTC-modified-26152f06399506bf5bca823f42ed3089ce404aa8.tar.gz
STC-modified-26152f06399506bf5bca823f42ed3089ce404aa8.zip
Updated rest of examples, except cqueue.c
Diffstat (limited to 'examples/splitstr.c')
-rw-r--r--examples/splitstr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/splitstr.c b/examples/splitstr.c
index 54bbe92d..42dd4dbd 100644
--- a/examples/splitstr.c
+++ b/examples/splitstr.c
@@ -1,5 +1,4 @@
#include <stc/csview.h>
-#include <stc/cvec.h>
void print_split(csview str, csview sep)
{
@@ -12,7 +11,8 @@ void print_split(csview str, csview sep)
}
}
-using_cvec_str();
+#define i_val_str
+#include <stc/cvec.h>
cvec_str string_split(csview str, csview sep)
{