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:
Björn Stenberg 2002-05-24 16:20:10 +00:00
parent 39295b2035
commit 13f8775f72
2 changed files with 12 additions and 0 deletions

View file

@ -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

View file

@ -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