Changeset 5a6cc679 in mainline for uspace/lib/c/include/sys


Ignore:
Timestamp:
2018-01-31T02:21:24Z (8 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a0a9cc2
Parents:
132ab5d1
Message:

Merge commit '50f19b7ee8e94570b5c63896736c4eb49cfa18db' into forwardport

Not all ints are converted to errno_t in xhci tree yet, however it compiles and works :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/sys/time.h

    r132ab5d1 r5a6cc679  
    3838#define LIBC_SYS_TIME_H_
    3939
     40#include <errno.h>
    4041#include <stddef.h>
    4142#include <stdint.h>
     
    8384
    8485extern void udelay(useconds_t);
    85 extern int usleep(useconds_t);
     86extern errno_t usleep(useconds_t);
    8687
    8788extern time_t mktime(struct tm *);
    88 extern int time_utc2tm(const time_t, struct tm *);
    89 extern int time_utc2str(const time_t, char *);
     89extern errno_t time_utc2tm(const time_t, struct tm *);
     90extern errno_t time_utc2str(const time_t, char *);
    9091extern void time_tm2str(const struct tm *, char *);
    91 extern int time_tv2tm(const struct timeval *, struct tm *);
    92 extern int time_local2tm(const time_t, struct tm *);
    93 extern int time_local2str(const time_t, char *);
     92extern errno_t time_tv2tm(const struct timeval *, struct tm *);
     93extern errno_t time_local2tm(const time_t, struct tm *);
     94extern errno_t time_local2str(const time_t, char *);
    9495extern double difftime(time_t, time_t);
    9596extern size_t strftime(char *__restrict__, size_t, const char *__restrict__,
Note: See TracChangeset for help on using the changeset viewer.