Changeset 82fd245 in mainline for uspace/lib/c/include/stdlib.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/stdlib.h

    re679283 r82fd245  
    3535#ifndef LIBC_STDLIB_H_
    3636#define LIBC_STDLIB_H_
     37
     38#ifdef __cplusplus
     39extern "C" {
     40#endif
    3741
    3842#include <_bits/size_t.h>
     
    104108extern lldiv_t lldiv(long long, long long);
    105109
     110#ifdef __cplusplus
     111}
     112#endif
     113
    106114#endif
    107115
Note: See TracChangeset for help on using the changeset viewer.