revert last change, disable warnings; this will keep us from having to make any additional modifications to atombios

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41100 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Alexander von Gluck IV
2011-03-25 02:05:32 +00:00
parent 2b972a5652
commit 9d9ecaca74
2 changed files with 8 additions and 3 deletions
@@ -50,7 +50,7 @@ Revision History:
extern COMMANDS_PROPERTIES CallTable[];
static UINT8 ProcessCommandProperties(PARSER_TEMP_DATA STACK_BASED * pParserTempData)
UINT8 ProcessCommandProperties(PARSER_TEMP_DATA STACK_BASED * pParserTempData)
{
UINT8 opcode=((COMMAND_HEADER*)pParserTempData->pWorkingTableData->IP)->Opcode;
pParserTempData->pWorkingTableData->IP+=CallTable[opcode].headersize;
@@ -85,7 +85,7 @@ UINT16* GetCommandMasterTablePointer(DEVICE_DATA STACK_BASED* pDeviceData)
return MasterTableOffset;
}
static UINT16* GetDataMasterTablePointer(DEVICE_DATA STACK_BASED* pDeviceData)
UINT16* GetDataMasterTablePointer(DEVICE_DATA STACK_BASED* pDeviceData)
{
UINT16 *MasterTableOffset;
@@ -100,7 +100,7 @@ static UINT16* GetDataMasterTablePointer(DEVICE_DATA STACK_BASED* pDeviceData)
}
static UINT8 GetTrueIndexInMasterTable(PARSER_TEMP_DATA STACK_BASED * pParserTempData, UINT8 IndexInMasterTable)
UINT8 GetTrueIndexInMasterTable(PARSER_TEMP_DATA STACK_BASED * pParserTempData, UINT8 IndexInMasterTable)
{
#ifndef DISABLE_EASF
UINT16 i;
@@ -7,6 +7,11 @@ UsePrivateHeaders [ FDirName graphics common ] ;
DEFINES += DISABLE_EASF ;
# To avoid changing AMD vendor sources
TARGET_WARNING_CCFLAGS = [ FFilter $(TARGET_WARNING_CCFLAGS)
: -Wall -Wmissing-prototypes -Wcast-align ] ;
TARGET_WARNING_CCFLAGS += -Wno-pointer-to-int-cast ;
StaticLibrary atombios.a :
Decoder.c
CD_Operations.c