summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/sview_split.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/examples/sview_split.c')
-rw-r--r--misc/examples/sview_split.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/sview_split.c b/misc/examples/sview_split.c
index 77caf640..2bb7aaee 100644
--- a/misc/examples/sview_split.c
+++ b/misc/examples/sview_split.c
@@ -12,7 +12,7 @@ int main()
printf("%.*s, %.*s, %.*s\n", c_SVARG(year), c_SVARG(month), c_SVARG(day));
- c_AUTO (cstr, y, m, d) {
+ c_auto (cstr, y, m, d) {
y = cstr_from_sv(year), m = cstr_from_sv(month), d = cstr_from_sv(day);
printf("%s, %s, %s\n", cstr_str(&y), cstr_str(&m), cstr_str(&d));
}