summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/words.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/words.c b/examples/words.c
index c8e17deb..5f24a944 100644
--- a/examples/words.c
+++ b/examples/words.c
@@ -11,7 +11,7 @@ using_cmap_strkey(si, int);
int main1()
{
- c_defcnt (clist_str, lwords, {
+ c_defcon (clist_str, lwords, {
"this", "sentence", "is", "not", "a", "sentence",
"this", "sentence", "is", "a", "hoax"
});
@@ -21,7 +21,7 @@ int main1()
printf("%s\n", w.ref->str);
puts("");
- c_defcnt (cvec_str, words, {
+ c_defcon (cvec_str, words, {
"this", "sentence", "is", "not", "a", "sentence",
"this", "sentence", "is", "a", "hoax"
});