Move the Debug flag into a new module "debugflag" in the common directory.

Remove the const qualifier from the argument of xfree().


git-svn-id: svn://svn.cc65.org/cc65/trunk@1877 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-01-04 16:59:51 +00:00
parent b22030dbc7
commit abcc981253
20 changed files with 132 additions and 20 deletions

View File

@@ -37,12 +37,13 @@
#include <string.h>
#include "abend.h"
#include "debugflag.h"
#include "xmalloc.h"
/*****************************************************************************/
/* code */
/* code */
/*****************************************************************************/
@@ -81,10 +82,10 @@ void* xrealloc (void* P, size_t Size)
void xfree (const void* Block)
void xfree (void* Block)
/* Free the block, do some debugging */
{
free ((void*) Block);
free (Block);
}