Ignore:
File:
1 edited

Legend:

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

    rbc56f30 r3875f106  
    3333 */
    3434
    35 #ifndef _LIBC_STRING_H_
    36 #define _LIBC_STRING_H_
     35#ifndef LIBC_STRING_H_
     36#define LIBC_STRING_H_
    3737
    38 #if defined(_HELENOS_SOURCE) && !defined(_REALLY_WANT_STRING_H) && \
    39     !defined(_LIBC_SOURCE)
     38#if defined(_HELENOS_SOURCE) && !defined(_REALLY_WANT_STRING_H)
    4039#error Please use str.h and mem.h instead
    4140#endif
    4241
    43 #include <_bits/decls.h>
    4442#include <_bits/size_t.h>
    4543#include <_bits/NULL.h>
    4644#include <mem.h>
    47 
    48 __C_DECLS_BEGIN;
    4945
    5046extern char *strcpy(char *, const char *);
     
    6763extern size_t strlen(const char *);
    6864
    69 #if defined(_HELENOS_SOURCE) || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_LIBC_SOURCE)
    70 extern size_t strnlen(const char *, size_t);
    71 extern char *strdup(const char *);
    72 extern char *strndup(const char *, size_t);
    73 #endif
    74 
    75 __C_DECLS_END;
    76 
    7765#endif
    7866
Note: See TracChangeset for help on using the changeset viewer.