mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 10:46:28 +08:00
compiler.h: Add malloc_like? and realloc_like macro
and apply them to the related functions Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
6e66603da5
commit
e1f45857e3
+1
-1
@@ -229,7 +229,7 @@ int vdprintf(int fd, FAR const IPTR char *fmt, va_list ap)
|
||||
|
||||
FAR FILE *tmpfile(void);
|
||||
FAR char *tmpnam(FAR char *s);
|
||||
FAR char *tempnam(FAR const char *dir, FAR const char *pfx);
|
||||
FAR char *tempnam(FAR const char *dir, FAR const char *pfx) malloc_like;
|
||||
int remove(FAR const char *path);
|
||||
|
||||
/* Shell operations. These are not actually implemented in the OS. See
|
||||
|
||||
Reference in New Issue
Block a user