X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Frtc.h;h=785fbe380797cb029e2d905e9730b44da8320dd4;hb=440db474498d110ef56ba6a4cd8d5ae3fa7b7573;hp=2995144a0dee52a7065a15d761b9b1783190be86;hpb=47310715f4316a3677b206acf9f83adb7949ecd1;p=oweals%2Fu-boot.git diff --git a/include/rtc.h b/include/rtc.h index 2995144a0d..785fbe3807 100644 --- a/include/rtc.h +++ b/include/rtc.h @@ -35,7 +35,7 @@ * Note that there are small but significant differences to the * common "struct time": * - * struct time: struct rtc_time: + * struct time: struct rtc_time: * tm_mon 0 ... 11 1 ... 12 * tm_year years since 1900 years since 0 */ @@ -53,7 +53,7 @@ struct rtc_time { }; int rtc_get (struct rtc_time *); -void rtc_set (struct rtc_time *); +int rtc_set (struct rtc_time *); void rtc_reset (void); void GregorianDay (struct rtc_time *);