summaryrefslogtreecommitdiff
path: root/src/examples/calendar_example_02.c
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2012-03-26 23:46:53 +0000
committerDaniel Juyung Seo <seojuyung2@gmail.com>2012-03-26 23:46:53 +0000
commit9819e98ea1614bab64325bcae985b34dc233f246 (patch)
tree90738198f0ce11d96d57f3ca33b3872138f7d293 /src/examples/calendar_example_02.c
parentb7846368177b97074a8fd7e65d7a467e3c6ed1e3 (diff)
elm examples: Fixed some build warnings.
SVN revision: 69642
Diffstat (limited to 'src/examples/calendar_example_02.c')
-rw-r--r--src/examples/calendar_example_02.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/calendar_example_02.c b/src/examples/calendar_example_02.c
index 0a0085b..9db3855 100644
--- a/src/examples/calendar_example_02.c
+++ b/src/examples/calendar_example_02.c
@@ -18,11 +18,11 @@
18#endif 18#endif
19 19
20static char * 20static char *
21_format_month_year(struct tm *stime) 21_format_month_year(struct tm *format_time)
22{ 22{
23 char buf[32]; 23 char buf[32];
24 /* abbreviates month and year */ 24 /* abbreviates month and year */
25 if (!strftime(buf, sizeof(buf), "%b %y", stime)) return NULL; 25 if (!strftime(buf, sizeof(buf), "%b %y", format_time)) return NULL;
26 return strdup(buf); 26 return strdup(buf);
27} 27}
28 28