mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-13 23:01:31 +00:00
strdup and strndup call malloc and are not pure
This commit is contained in:
parent
bb94c143d9
commit
7e1db201b9
@ -41,8 +41,8 @@ int __pure memcmp(const void * cs,const void * ct,
|
||||
void * __pure memscan(const void * addr, int c, size_t size) __nonnull;
|
||||
char * __pure strstr(const char * s1,const char * s2) __nonnull;
|
||||
void * __pure memchr(const void *s, int c, size_t n) __nonnull;
|
||||
char * __pure strdup(const char *s) __nonnull;
|
||||
char * __pure strndup(const char *s, size_t n) __nonnull;
|
||||
char * strdup(const char *s) __nonnull;
|
||||
char * strndup(const char *s, size_t n) __nonnull;
|
||||
|
||||
extern const char * strerror ( int errno );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user