Skip to content

Commit

Permalink
Fix --enable-memory-checking
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisJefferson authored and fingolfin committed Feb 10, 2019
1 parent 2fdb8b1 commit df547af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/gasman.c
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,7 @@ void InitCollectFuncBags (

Int EnableMemCheck = 0;

static Int enableMemCheck(Char ** argv, void * dummy)
Int enableMemCheck(Char ** argv, void * dummy)
{
SyFputs( "# Warning: --enableMemCheck causes SEVERE slowdowns. Starting GAP may take several days!\n", 3 );
EnableMemCheck = 1;
Expand Down
6 changes: 3 additions & 3 deletions src/sysmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,17 +208,17 @@ enum { membufcount = 64 };
static void * membufs[membufcount];
static UInt membufSize;

static UInt GetMembufCount(void)
UInt GetMembufCount(void)
{
return membufcount;
}

static void * GetMembuf(UInt i)
void * GetMembuf(UInt i)
{
return membufs[i];
}

static UInt GetMembufSize(void)
UInt GetMembufSize(void)
{
return membufSize;
}
Expand Down

0 comments on commit df547af

Please sign in to comment.