[haiku-commits] r41099 - haiku/trunk/src/add-ons/accelerants/radeon_hd/atombios

  • From: kallisti5@xxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 25 Mar 2011 02:32:20 +0100 (CET)

Author: kallisti5
Date: 2011-03-25 02:32:19 +0100 (Fri, 25 Mar 2011)
New Revision: 41099
Changeset: https://dev.haiku-os.org/changeset/41099

Modified:
   haiku/trunk/src/add-ons/accelerants/radeon_hd/atombios/Decoder.c
Log:
make one time use functions static... this stuff is a mess.  Fixes 'no previous 
prototype' warn->error

Modified: haiku/trunk/src/add-ons/accelerants/radeon_hd/atombios/Decoder.c
===================================================================
--- haiku/trunk/src/add-ons/accelerants/radeon_hd/atombios/Decoder.c    
2011-03-24 22:43:48 UTC (rev 41098)
+++ haiku/trunk/src/add-ons/accelerants/radeon_hd/atombios/Decoder.c    
2011-03-25 01:32:19 UTC (rev 41099)
@@ -50,7 +50,7 @@
 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 @@
        return MasterTableOffset;
 }
 
-UINT16* GetDataMasterTablePointer(DEVICE_DATA STACK_BASED*  pDeviceData)
+static UINT16* GetDataMasterTablePointer(DEVICE_DATA STACK_BASED*  pDeviceData)
 {
        UINT16          *MasterTableOffset;
        
@@ -100,7 +100,7 @@
 }
 
 
-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;


Other related posts:

  • » [haiku-commits] r41099 - haiku/trunk/src/add-ons/accelerants/radeon_hd/atombios - kallisti5