mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
Added proper includes and #ifdefs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@705 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
39295b2035
commit
13f8775f72
2 changed files with 12 additions and 0 deletions
|
@ -16,9 +16,15 @@
|
|||
* KIND, either express or implied.
|
||||
*
|
||||
****************************************************************************/
|
||||
#ifndef _BMALLOC_H_
|
||||
#define _BMALLOC_H_
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
int bmalloc_add_pool(void *start, size_t size);
|
||||
void bmalloc_status(void);
|
||||
|
||||
void *bmalloc(size_t size);
|
||||
void bfree(void *ptr);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -16,6 +16,10 @@
|
|||
* KIND, either express or implied.
|
||||
*
|
||||
****************************************************************************/
|
||||
#ifndef _DMALLOC_H_
|
||||
#define _DMALLOC_H_
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
void *malloc(size_t);
|
||||
void *calloc (size_t nmemb, size_t size);
|
||||
|
@ -28,3 +32,5 @@ void dmalloc_initialize(void);
|
|||
#ifdef DEBUG
|
||||
void dmalloc_status(void);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue