From 2b972a5652628ab75e3aade89a69256294ab0dd4 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Fri, 25 Mar 2011 01:32:19 +0000 Subject: [PATCH] make one time use functions static... this stuff is a mess. Fixes 'no previous prototype' warn->error git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41099 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/accelerants/radeon_hd/atombios/Decoder.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/add-ons/accelerants/radeon_hd/atombios/Decoder.c b/src/add-ons/accelerants/radeon_hd/atombios/Decoder.c index 95908d5fe6..fbb965d554 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[]; -UINT8 ProcessCommandProperties(PARSER_TEMP_DATA STACK_BASED * pParserTempData) +static 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; } -UINT16* GetDataMasterTablePointer(DEVICE_DATA STACK_BASED* pDeviceData) +static UINT16* GetDataMasterTablePointer(DEVICE_DATA STACK_BASED* pDeviceData) { UINT16 *MasterTableOffset; @@ -100,7 +100,7 @@ UINT16* GetDataMasterTablePointer(DEVICE_DATA STACK_BASED* pDeviceData) } -UINT8 GetTrueIndexInMasterTable(PARSER_TEMP_DATA STACK_BASED * pParserTempData, UINT8 IndexInMasterTable) +static UINT8 GetTrueIndexInMasterTable(PARSER_TEMP_DATA STACK_BASED * pParserTempData, UINT8 IndexInMasterTable) { #ifndef DISABLE_EASF UINT16 i;