X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Frtc.h;h=785fbe380797cb029e2d905e9730b44da8320dd4;hb=700d553fd3afe804086de8f73d95153315eb0c32;hp=2995144a0dee52a7065a15d761b9b1783190be86;hpb=493a2b1dc97367e904bf83869501f6290f3b374e;p=u-boot 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 *);