diff --git a/src/add-ons/accelerants/radeon_hd/atombios/Decoder.c b/src/add-ons/accelerants/radeon_hd/atombios/Decoder.c index fbb965d554..95908d5fe6 100644 --- a/src/add-ons/accelerants/radeon_hd/atombios/Decoder.c +++ b/src/add-ons/accelerants/radeon_hd/atombios/Decoder.c @@ -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; diff --git a/src/add-ons/accelerants/radeon_hd/atombios/Jamfile b/src/add-ons/accelerants/radeon_hd/atombios/Jamfile index ed131becff..ed3994a0b1 100644 --- a/src/add-ons/accelerants/radeon_hd/atombios/Jamfile +++ b/src/add-ons/accelerants/radeon_hd/atombios/Jamfile @@ -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