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


Ignore:
Timestamp:
2018-07-05T21:41:19Z (6 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/str.h

    re679283 r82fd245  
    3636#ifndef LIBC_STR_H_
    3737#define LIBC_STR_H_
     38
     39#ifdef __cplusplus
     40extern "C" {
     41#endif
    3842
    3943#include <errno.h>
     
    139143extern unsigned long strtoul(const char *, char **, int);
    140144
     145#ifdef __cplusplus
     146}
     147#endif
     148
    141149#endif
    142150
Note: See TracChangeset for help on using the changeset viewer.