Changeset 82fd245 in mainline for uspace/lib/c/include/time.h


Ignore:
Timestamp:
2018-07-05T21:41:19Z (7 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9f77d98
Parents:
e679283
git-author:
Dzejrou <dzejrou@…> (2018-01-07 00:18:22)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:19)
Message:

c: added extern C linkage if the c library headers are compiled as c++ headers

File:
1 edited

Legend:

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

    re679283 r82fd245  
    3636#define LIBC_TIME_H_
    3737
     38#ifdef __cplusplus
     39extern "C" {
     40#endif
     41
    3842#include <sys/time.h>
    3943
    4044extern time_t time(time_t *);
     45
     46#ifdef __cplusplus
     47}
     48#endif
    4149
    4250#endif
Note: See TracChangeset for help on using the changeset viewer.