[U-Boot] what is the rationale for 900+ lines duplicated in common/dlmalloc.c and include/malloc.h?
Robert P. J. Day
rpjday at crashcourse.ca
Sat Apr 16 10:23:27 CEST 2016
just noticed, in common/dlmalloc.c, the sizable chunk:
#if 0 /* Moved to malloc.h */
/* ---------- To make a malloc.h, start cutting here ------------ */
... several hundred lines ...
#ifdef __cplusplus
}; /* end of extern "C" */
#endif
/* ---------- To make a malloc.h, end cutting here ------------ */
#endif /* 0 */ /* Moved to malloc.h */
given that those lines appear to be duplicated in malloc.h, what is
the purpose of them still being in dlmalloc.c? i'm just curious.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
More information about the U-Boot
mailing list