aboutsummaryrefslogtreecommitdiffstats
path: root/libical/examples/access_components.c
diff options
context:
space:
mode:
Diffstat (limited to 'libical/examples/access_components.c')
-rw-r--r--libical/examples/access_components.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libical/examples/access_components.c b/libical/examples/access_components.c
index 18fc6a6144..cc5a33d6d2 100644
--- a/libical/examples/access_components.c
+++ b/libical/examples/access_components.c
@@ -37,13 +37,13 @@ icalcomponent* create_new_component()
/* variable definitions */
icalcomponent* calendar;
icalcomponent* event;
- struct icaltimetype atime = icaltime_from_timet( time(0),0,0);
+ struct icaltimetype atime = icaltime_from_timet( time(0),0);
struct icalperiodtype rtime;
icalproperty* property;
/* Define a time type that will use as data later. */
- rtime.start = icaltime_from_timet( time(0),0,0);
- rtime.end = icaltime_from_timet( time(0),0,0);
+ rtime.start = icaltime_from_timet( time(0),0);
+ rtime.end = icaltime_from_timet( time(0),0);
rtime.end.hour++;
/* Create calendar and add properties */
@@ -205,11 +205,11 @@ icalcomponent* create_new_component_with_va_args()
/* This is a similar set up to the last routine */
icalcomponent* calendar;
- struct icaltimetype atime = icaltime_from_timet( time(0),0,0);
+ struct icaltimetype atime = icaltime_from_timet( time(0),0);
struct icalperiodtype rtime;
- rtime.start = icaltime_from_timet( time(0),0,0);
- rtime.end = icaltime_from_timet( time(0),0,0);
+ rtime.start = icaltime_from_timet( time(0),0);
+ rtime.end = icaltime_from_timet( time(0),0);
rtime.end.hour++;
/* Some of these routines are the same as those in the previous