mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-12-22 07:30:54 +00:00
Exclude non-standard functions in <string.h> if __KeepNamespacePure__ is defined.
This commit is contained in:
parent
895d0585a8
commit
28888cf824
@ -22,13 +22,17 @@ typedef unsigned long size_t;
|
||||
#define NULL (void *) 0L
|
||||
#endif
|
||||
|
||||
char *c2pstr(char *);
|
||||
#ifndef __KeepNamespacePure__
|
||||
char *c2pstr(char *);
|
||||
#endif
|
||||
void *memchr(const void *, int, size_t);
|
||||
int memcmp(const void *, const void *, size_t);
|
||||
void *memcpy(void *, const void *, size_t);
|
||||
void *memmove(void *, const void *, size_t);
|
||||
void *memset(void *, int, size_t);
|
||||
char *p2cstr(char *);
|
||||
#ifndef __KeepNamespacePure__
|
||||
char *p2cstr(char *);
|
||||
#endif
|
||||
char *strcat(char *, const char *);
|
||||
char *strchr(const char *, int);
|
||||
int strcmp(const char *, const char *);
|
||||
@ -40,10 +44,14 @@ char *strncat(char *, const char *, size_t);
|
||||
int strncmp(const char *, const char *, size_t);
|
||||
char *strncpy(char *, const char *, size_t);
|
||||
char *strpbrk(const char *, const char *);
|
||||
int strpos(char *, char);
|
||||
#ifndef __KeepNamespacePure__
|
||||
int strpos(char *, char);
|
||||
#endif
|
||||
char *strrchr(const char *, int);
|
||||
char *strrpbrk(char *, char *);
|
||||
int strrpos(char *, char);
|
||||
#ifndef __KeepNamespacePure__
|
||||
char *strrpbrk(char *, char *);
|
||||
int strrpos(char *, char);
|
||||
#endif
|
||||
size_t strspn(const char *, const char *);
|
||||
char *strstr(const char *, const char *);
|
||||
char *strtok(char *, const char *);
|
||||
|
Loading…
Reference in New Issue
Block a user