summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/sso_substr.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/examples/sso_substr.c')
-rw-r--r--misc/examples/sso_substr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/examples/sso_substr.c b/misc/examples/sso_substr.c
index 4b2dbcc8..687658df 100644
--- a/misc/examples/sso_substr.c
+++ b/misc/examples/sso_substr.c
@@ -1,7 +1,9 @@
+#define i_implement
#include <stc/cstr.h>
+#define i_implement
#include <stc/csview.h>
-int main ()
+int main(void)
{
cstr str = cstr_lit("We think in generalities, but we live in details.");
csview sv1 = cstr_substr_ex(&str, 3, 5); // "think"