Changeset bc73be3 in mainline for uspace/lib/c/include/string.h


Ignore:
Timestamp:
2019-06-27T08:51:20Z (7 years ago)
Author:
Jaroslav Jindrak <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8add15e0
Parents:
ad40b74b (diff), aeba767 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

cpp: merge and resolve conflicts

File:
1 edited

Legend:

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

    rad40b74b rbc73be3  
    3333 */
    3434
    35 #ifndef LIBC_STRING_H_
    36 #define LIBC_STRING_H_
     35#ifndef _LIBC_STRING_H_
     36#define _LIBC_STRING_H_
    3737
    3838#if defined(_HELENOS_SOURCE) && !defined(_REALLY_WANT_STRING_H) && \
     
    4141#endif
    4242
     43#include <_bits/decls.h>
    4344#include <_bits/size_t.h>
    4445#include <_bits/NULL.h>
    4546#include <mem.h>
     47
     48__C_DECLS_BEGIN;
    4649
    4750extern char *strcpy(char *, const char *);
     
    6467extern size_t strlen(const char *);
    6568
    66 #if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_LIBC_SOURCE)
     69#if defined(_HELENOS_SOURCE) || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_LIBC_SOURCE)
    6770extern size_t strnlen(const char *, size_t);
    6871extern char *strdup(const char *);
     
    7073#endif
    7174
     75__C_DECLS_END;
     76
    7277#endif
    7378
Note: See TracChangeset for help on using the changeset viewer.