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

    re679283 r82fd245  
    3636#define LIBC_STDARG_H_
    3737
     38#ifdef __cplusplus
     39extern "C" {
     40#endif
    3841
    3942typedef __builtin_va_list va_list;
     
    4447#define va_copy(dst, src)   __builtin_va_copy(dst, src)
    4548
     49#ifdef __cplusplus
     50}
     51#endif
     52
    4653#endif
    4754
Note: See TracChangeset for help on using the changeset viewer.