Ignore:
File:
1 edited

Legend:

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

    rbc56f30 r1c9bf292  
    3838#define _LIBC_STR_H_
    3939
     40#ifdef __cplusplus
     41extern "C" {
     42#endif
     43
    4044#include <errno.h>
    4145#include <stdbool.h>
     
    4448
    4549#include <mem.h>
    46 #include <_bits/decls.h>
    47 
    48 #ifndef __cplusplus
    4950
    5051/* Common Unicode characters */
     
    6263 */
    6364#define SPASCII_STR_BUFSIZE(spa_size) ((spa_size) + 1)
    64 
    65 #endif
    66 
    67 __HELENOS_DECLS_BEGIN;
    6865
    6966extern wchar_t str_decode(const char *str, size_t *offset, size_t sz);
     
    137134extern errno_t str_size_t(const char *, const char **, unsigned int, bool,
    138135    size_t *);
    139 extern int str_int64_t(const char *, const char **, unsigned int, bool,
     136extern errno_t str_int64_t(const char *, const char **, unsigned int, bool,
    140137    int64_t *);
    141138
     
    150147extern unsigned long strtoul(const char *, char **, int);
    151148
    152 __HELENOS_DECLS_END;
     149#ifdef __cplusplus
     150}
     151#endif
    153152
    154153#endif
Note: See TracChangeset for help on using the changeset viewer.