Changes in uspace/app/date/date.c [d5c1051:b7fd2a0] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/date/date.c

    rd5c1051 rb7fd2a0  
    3939#define NAME   "date"
    4040
    41 static int read_date_from_arg(char *wdate, struct tm *t);
    42 static int read_time_from_arg(char *wdate, struct tm *t);
    43 static int tm_sanity_check(struct tm *t);
     41static errno_t read_date_from_arg(char *wdate, struct tm *t);
     42static errno_t read_time_from_arg(char *wdate, struct tm *t);
     43static errno_t tm_sanity_check(struct tm *t);
    4444static bool is_leap_year(int year);
    4545
     
    5151main(int argc, char **argv)
    5252{
    53         int rc;
     53        errno_t rc;
    5454        int c;
    5555        category_id_t cat_id;
     
    197197 *  with the following format: DD/MM/YYYY
    198198 */
    199 static int
     199static errno_t
    200200read_date_from_arg(char *wdate, struct tm *t)
    201201{
    202         int rc;
     202        errno_t rc;
    203203        uint32_t tmp;
    204204
     
    232232 *  with the following format: HH:MM:SS or HH:MM
    233233 */
    234 static int
     234static errno_t
    235235read_time_from_arg(char *wtime, struct tm *t)
    236236{
    237         int rc;
     237        errno_t rc;
    238238        size_t len = str_size(wtime);
    239239        bool sec_present = len == 8;
     
    278278 * @return      EOK on success or EINVAL
    279279 */
    280 static int
     280static errno_t
    281281tm_sanity_check(struct tm *t)
    282282{
Note: See TracChangeset for help on using the changeset viewer.