Blob Blame History Raw
diff -Naru uqm-0.3.orig/src/sc2code/comm/starbas/starbas.c uqm-0.3/src/sc2code/comm/starbas/starbas.c
--- uqm-0.3.orig/src/sc2code/comm/starbas/starbas.c	2003-06-22 03:55:59.000000000 +0300
+++ uqm-0.3/src/sc2code/comm/starbas/starbas.c	2005-03-18 14:40:50.000000000 +0200
@@ -552,6 +552,8 @@
 	Response (enough_history, NeedInfo);
 }
 
+static void TellMission (RESPONSE_REF R);
+
 static void
 DefeatUrquan (RESPONSE_REF R)
 {
@@ -560,7 +562,6 @@
 #define HOW_ALLY_AGAINST_URQUAN (1 << 2)
 #define HOW_STRONG_AGAINST_URQUAN (1 << 3)
 	static BYTE DefeatMask = 0;
-	static void TellMission (RESPONSE_REF R);
 
 	if (PLAYER_SAID (R, how_defeat))
 	{
@@ -1635,6 +1636,8 @@
 	}
 }
 
+static void SellMinerals (RESPONSE_REF R);
+
 static void
 NormalStarbase (RESPONSE_REF R)
 {
@@ -1716,8 +1719,6 @@
 
 	if (GLOBAL_SIS (TotalElementMass))
 	{
-		static void SellMinerals (RESPONSE_REF R);
-
 		Response (have_minerals, SellMinerals);
 	}
 	if (DiscussDevices (FALSE))
diff -Naru uqm-0.3.orig/src/sc2code/gameopt.c uqm-0.3/src/sc2code/gameopt.c
--- uqm-0.3.orig/src/sc2code/gameopt.c	2003-09-05 00:32:06.000000000 +0300
+++ uqm-0.3/src/sc2code/gameopt.c	2005-03-18 14:39:21.000000000 +0200
@@ -188,6 +188,8 @@
 
 static BOOLEAN DoSettings (PMENU_STATE pMS);
 
+static BOOLEAN DoNaming (PMENU_STATE pMS);
+
 static BOOLEAN
 DrawDescriptionString (PMENU_STATE pMS, COUNT which_string, SIZE state)
 {
@@ -196,7 +198,6 @@
 	TEXT lf;
 	COLOR BackGround, ForeGround;
 	FONT Font;
-	static BOOLEAN DoNaming (PMENU_STATE pMS);
 
 	SetSemaphore (GraphicsSem);
 
diff -Naru uqm-0.3.orig/src/sc2code/melee.c uqm-0.3/src/sc2code/melee.c
--- uqm-0.3.orig/src/sc2code/melee.c	2003-08-26 06:22:58.000000000 +0300
+++ uqm-0.3/src/sc2code/melee.c	2005-03-18 14:40:53.000000000 +0200
@@ -201,13 +201,13 @@
 	DrawMeleeIcon (1 + (8 * (1 - which_side)) + (HiLite ? 4 : 0) + which_icon);
 }
 
+static void DrawMeleeShipStrings (PMELEE_STATE pMS, BYTE NewStarShip);
+
 static void
 DrawPickFrame (PMELEE_STATE pMS)
 {
 	FRAME F;
 	RECT r, r0, r1, ship_r;
-	static void DrawMeleeShipStrings (PMELEE_STATE pMS, BYTE
-			NewStarShip);
 				
 	GetShipBox (&r0, 0, 0, 0),
 	GetShipBox (&r1, 1, NUM_MELEE_ROWS - 1, NUM_MELEE_COLUMNS - 1),