mirror of
https://github.com/ipxe/ipxe
synced 2025-12-22 21:11:03 +03:00
use malloc attribute
This commit is contained in:
@@ -41,9 +41,9 @@ int __pure memcmp(const void * cs,const void * ct,
|
|||||||
void * __pure memscan(const void * addr, int c, size_t size) __nonnull;
|
void * __pure memscan(const void * addr, int c, size_t size) __nonnull;
|
||||||
char * __pure strstr(const char * s1,const char * s2) __nonnull;
|
char * __pure strstr(const char * s1,const char * s2) __nonnull;
|
||||||
void * __pure memchr(const void *s, int c, size_t n) __nonnull;
|
void * __pure memchr(const void *s, int c, size_t n) __nonnull;
|
||||||
char * strdup(const char *s) __nonnull;
|
char * __malloc strdup(const char *s) __nonnull;
|
||||||
char * strndup(const char *s, size_t n) __nonnull;
|
char * __malloc strndup(const char *s, size_t n) __nonnull;
|
||||||
|
|
||||||
extern const char * strerror ( int errno );
|
extern const char * __pure strerror ( int errno );
|
||||||
|
|
||||||
#endif /* ETHERBOOT_STRING */
|
#endif /* ETHERBOOT_STRING */
|
||||||
|
|||||||
Reference in New Issue
Block a user