Skip to content
Snippets Groups Projects
Commit 5d76a9fc authored by Oliver Sander's avatar Oliver Sander
Browse files

bugfix: didn't compile as C

[[Imported from SVN: r8271]]
parent 3591e8b6
No related branches found
No related tags found
No related merge requests found
......@@ -190,7 +190,7 @@ INT NS_PREFIX InitHeaps ()
*/
/****************************************************************************/
HEAP *NS_PREFIX NewHeap (HeapType type, MEM size, void *buffer)
HEAP *NS_PREFIX NewHeap (enum HeapType type, MEM size, void *buffer)
{
HEAP *theHeap;
INT i;
......
......@@ -148,7 +148,7 @@ struct block {
};
typedef struct {
HeapType type;
enum HeapType type;
MEM size;
MEM used;
MEM freelistmem;
......@@ -215,7 +215,7 @@ INT InitHeaps (void);
/** @name Functions for the simple and general heap management */
/* @{ */
HEAP *NewHeap (HeapType type, MEM size, void *buffer);
HEAP *NewHeap (enum HeapType type, MEM size, void *buffer);
void *GetMem (HEAP *theHeap, MEM n, INT mode);
void *GetMemUsingKey (HEAP *theHeap, MEM n, INT mode, INT key);
void DisposeMem (HEAP *theHeap, void *buffer);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment