X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=mware%2Fheap.h;h=f02a7d558fc3a87fd6c61e43214db5a97f988ac0;hb=HEAD;hp=c81b728b01ab2e3186f7a63762d5a20979dd5667;hpb=daac0a9063cd094f8af9f8ccf3eb6b49e481a337;p=bertos.git diff --git a/mware/heap.h b/mware/heap.h deleted file mode 100755 index c81b728b..00000000 --- a/mware/heap.h +++ /dev/null @@ -1,47 +0,0 @@ -/*! - * \file - * - * - * \brief Heap subsystem (public interface). - * - * \version $Id$ - * - * \author Bernardo Innocenti - */ - -/* - * $Log$ - * Revision 1.1 2004/07/31 16:33:58 rasky - * Spostato lo heap da kern/ a mware/ - * - * Revision 1.2 2004/06/03 11:27:09 bernie - * Add dual-license information. - * - * Revision 1.1 2004/05/23 17:27:00 bernie - * Import kern/ subdirectory. - * - */ - -#ifndef KERN_HEAP_H -#define KERN_HEAP_H - -#include "compiler.h" - - -/* Memory allocation services */ -void heap_init(void); -void *heap_alloc(size_t size); -void heap_free(void *mem, size_t size); - -#ifdef __POSIX__ /* unused */ -void *malloc(size_t size); -void *calloc(unsigned int nelem, size_t size); -void free(void * mem); -#endif /* __POSIX__ */ - -#endif /* KERN_HEAP_H */ -