-------
Revert of: r8912 - A workaround for the warnings in Visual Srudio when compiling unidasm

It was breaking the GCC compile of unidasm.
If anyone else has a better fix who uses VS2008/2010, please feel free to reapply a proper fix
This commit is contained in:
Scott Stone 2010-04-24 00:34:47 +00:00
parent 9fb8636bd9
commit 8896bf2e01

View File

@ -37,18 +37,6 @@
****************************************************************************/
void *malloc_file_line(size_t size, const char *file, int line)
{
void *result = malloc(size);
return result;
}
void free_file_line(void *memory, const char *file, int line)
{
free(memory);
}
#include "emu.h"
#include <ctype.h>
@ -345,6 +333,17 @@ static const dasm_table_entry dasm_table[] =
{ "z8", _8bit, 0, CPU_DISASSEMBLE_NAME(z8) },
};
void *malloc_file_line(size_t size, const char *file, int line)
{
void *result = malloc(size);
return result;
}
void free_file_line(void *memory, const char *file, int line)
{
free(memory);
}
void CLIB_DECL logerror(const char *format, ...)
{