Changeset 8d2963d in mainline
- Timestamp:
- 2012-04-03T07:51:15Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 923b2eba
- Parents:
- 28ca043f
- Location:
- uspace
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/time/cmos-rtc/cmos-rtc.c
r28ca043f r8d2963d 65 65 66 66 static int 67 rtc_time_get(ddf_fun_t *fun, time_t*t);68 69 static int 70 rtc_time_set(ddf_fun_t *fun, time_tt);67 rtc_time_get(ddf_fun_t *fun, struct tm *t); 68 69 static int 70 rtc_time_set(ddf_fun_t *fun, struct tm *t); 71 71 72 72 static int … … 231 231 */ 232 232 static int 233 rtc_time_get(ddf_fun_t *fun, time_t*t)233 rtc_time_get(ddf_fun_t *fun, struct tm *t) 234 234 { 235 235 return EOK; … … 244 244 */ 245 245 static int 246 rtc_time_set(ddf_fun_t *fun, time_tt)246 rtc_time_set(ddf_fun_t *fun, struct tm *t) 247 247 { 248 248 return EOK; -
uspace/lib/c/include/sys/time.h
r28ca043f r8d2963d 46 46 typedef uint32_t mseconds_t; 47 47 48 struct tm { 49 int tm_sec; /* 0 - 59 */ 50 int tm_min; /* 0 - 59 */ 51 int tm_hour; /* 0 - 23 */ 52 int tm_mday; /* 1 - 31 */ 53 int tm_year; /* years since 1900 */ 54 }; 55 48 56 struct timeval { 49 57 time_t tv_sec; /* seconds */ -
uspace/lib/drv/include/ops/clock.h
r28ca043f r8d2963d 40 40 41 41 typedef struct { 42 int (*time_set)(ddf_fun_t *, time_t);43 int (*time_get)(ddf_fun_t *, time_t*);42 int (*time_set)(ddf_fun_t *, struct tm *); 43 int (*time_get)(ddf_fun_t *, struct tm *); 44 44 } clock_dev_ops_t; 45 45
Note:
See TracChangeset
for help on using the changeset viewer.