HelenOS sources

bcd2bin            93 uspace/drv/time/cmos-rtc/cmos-rtc.c static unsigned bcd2bin(unsigned bcd);
bcd2bin           385 uspace/drv/time/cmos-rtc/cmos-rtc.c 		t->tm_sec = bcd2bin(t->tm_sec);
bcd2bin           386 uspace/drv/time/cmos-rtc/cmos-rtc.c 		t->tm_min = bcd2bin(t->tm_min);
bcd2bin           387 uspace/drv/time/cmos-rtc/cmos-rtc.c 		t->tm_hour = bcd2bin(t->tm_hour);
bcd2bin           388 uspace/drv/time/cmos-rtc/cmos-rtc.c 		t->tm_mday = bcd2bin(t->tm_mday);
bcd2bin           389 uspace/drv/time/cmos-rtc/cmos-rtc.c 		t->tm_mon = bcd2bin(t->tm_mon);
bcd2bin           390 uspace/drv/time/cmos-rtc/cmos-rtc.c 		t->tm_year = bcd2bin(t->tm_year);
HelenOS homepage, sources at GitHub