Skip to content
Snippets Groups Projects
Commit 4a496844 authored by Christian Engwer's avatar Christian Engwer
Browse files

[heap] InitHeaps didn't do anything, drop it

parent febc21aa
No related branches found
No related tags found
1 merge request!94Feature/enforce dynamic memory allocmodel
......@@ -151,26 +151,6 @@ void NS_PREFIX HeapStat (const HEAP *theHeap)
UserWriteF(" usedfreelistent=%d\n",usedfreelistentries);
}
/****************************************************************************/
/** \brief Initialize memory management module
This function initializes memory management module.
(Supposedly. Currently it only contains a 'return 0'.
CAUTION: code may be machine dependent.
\return
0 if module initialized correctly
*/
/****************************************************************************/
INT NS_PREFIX InitHeaps ()
{
return(0);
}
/****************************************************************************/
/** \brief Install a new heap structure
......
......@@ -200,8 +200,6 @@ extern INT check_of_putcallstack;
/* */
/****************************************************************************/
INT InitHeaps (void);
/** @name Functions for the simple and general heap management */
/* @{ */
HEAP *NewHeap (enum HeapType type, MEM size, void *buffer);
......
......@@ -86,13 +86,6 @@ INT NS_PREFIX InitLow ()
{
INT err;
/* init heaps.c */
if ((err=InitHeaps())!=0)
{
SetHiWrd(err,__LINE__);
return (err);
}
/* init ugenv.c */
if ((err=InitUgEnv())!=0)
{
......
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