Ignore:
File:
1 edited

Legend:

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

    r086cab0 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);
     
    9895
    9996extern bool str_test_prefix(const char *s, const char *p);
    100 extern const char *str_suffix(const char *s, size_t prefix_length);
    10197
    10298extern void str_cpy(char *dest, size_t size, const char *src);
     
    151147extern unsigned long strtoul(const char *, char **, int);
    152148
    153 __HELENOS_DECLS_END;
     149#ifdef __cplusplus
     150}
     151#endif
    154152
    155153#endif
Note: See TracChangeset for help on using the changeset viewer.