mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 10:52:50 +00:00
loader: use #elif defined() in stand.h
Small cleanup. Reported by: imp
This commit is contained in:
parent
ddc7507637
commit
5292d0a7f3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=359421
@ -443,7 +443,7 @@ extern void *calloc(size_t, size_t);
|
|||||||
extern void free(void *);
|
extern void free(void *);
|
||||||
extern void *realloc(void *, size_t);
|
extern void *realloc(void *, size_t);
|
||||||
extern void *reallocf(void *, size_t);
|
extern void *reallocf(void *, size_t);
|
||||||
#elif DEBUG_MALLOC
|
#elif defined(DEBUG_MALLOC)
|
||||||
#define malloc(x) Malloc(x, __FILE__, __LINE__)
|
#define malloc(x) Malloc(x, __FILE__, __LINE__)
|
||||||
#define memalign(x, y) Memalign(x, y, __FILE__, __LINE__)
|
#define memalign(x, y) Memalign(x, y, __FILE__, __LINE__)
|
||||||
#define calloc(x, y) Calloc(x, y, __FILE__, __LINE__)
|
#define calloc(x, y) Calloc(x, y, __FILE__, __LINE__)
|
||||||
|
Loading…
Reference in New Issue
Block a user