diff --git a/src/action/action_follow.cpp b/src/action/action_follow.cpp
index 426e58055..c2a9a0844 100644
--- a/src/action/action_follow.cpp
+++ b/src/action/action_follow.cpp
@@ -31,6 +31,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 #include "freecraft.h"
 #include "unit.h"
diff --git a/src/include/interface.h b/src/include/interface.h
index b5facbd31..fa3f97eb9 100644
--- a/src/include/interface.h
+++ b/src/include/interface.h
@@ -291,26 +291,6 @@ extern void InputMouseExit(const EventCallback*,unsigned);
     /// Called to look for mouse timeout's
 extern void InputMouseTimeout(const EventCallback*,unsigned);
 
-//
-//	Chaos pur.
-//
-    /// Called if right mouse button is pressed
-extern void DoRightButton(int tx,int ty);
-    /// Cancel the building input mode
-extern void CancelBuildingMode(void);
-
-    /// Draw messages as overlay over of the map
-extern void DrawMessage(void);
-    /// Draw the player resource in resource line
-extern void DrawResources(void);
-    /// Set message to display
-extern void SetMessage( const char* fmt, ... );
-    /// Set message to display with event point
-extern void SetMessageEvent( int x, int y, const char* fmt, ... );
-    /// Center view-point on last event message
-    /// Called to look for mouse timeout's
-extern void InputMouseTimeout(const EventCallback*,unsigned);
-
 //
 //	Chaos pur.
 //
diff --git a/src/network/commands.cpp b/src/network/commands.cpp
index 99ffc3940..f1be2c666 100644
--- a/src/network/commands.cpp
+++ b/src/network/commands.cpp
@@ -10,12 +10,11 @@
 //
 /**@name commands.c	-	Global command handler - network support. */
 //
-//	(c) Copyright 2000,2001 by Lutz Sammer and Andreas Arens.
+//	(c) Copyright 2000,2002 by Lutz Sammer and Andreas Arens.
 //
 //	FreeCraft is free software; you can redistribute it and/or modify
 //	it under the terms of the GNU General Public License as published
-//	by the Free Software Foundation; either version 2 of the License,
-//	or (at your option) any later version.
+//	by the Free Software Foundation; only version 2 of the License.
 //
 //	FreeCraft is distributed in the hope that it will be useful,
 //	but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -78,7 +77,6 @@ local void CommandLog(const char* name,const Unit* unit,int flag,
 	unsigned x,unsigned y,const Unit* dest,const char* value,int num)
 {
     static FILE* logf;
-    extern unsigned SyncRandSeed;
 
     if( !CommandLogEnabled ) {
 	return;
diff --git a/src/ui/interface.cpp b/src/ui/interface.cpp
index f501da405..4ea9bdfc4 100644
--- a/src/ui/interface.cpp
+++ b/src/ui/interface.cpp
@@ -1011,7 +1011,8 @@ global void InputMouseMove(const EventCallback* callbacks,
 **	@param ticks		Denotes time-stamp of video-system
 **
 */
-global void InputMouseExit(const EventCallback* callbacks, unsigned ticks)
+global void InputMouseExit(const EventCallback* callbacks,
+	unsigned ticks __attribute__((unused)))
 {
 //FIXME: should we do anything here with ticks? don't know, but conform others
     callbacks->MouseExit();
diff --git a/src/unit/script_unit.cpp b/src/unit/script_unit.cpp
index 2c01c8beb..e074ff0ad 100644
--- a/src/unit/script_unit.cpp
+++ b/src/unit/script_unit.cpp
@@ -278,7 +278,8 @@ local void CclParseOrders(Unit* unit,SCM vector)
 **
 **	@param list	All options of the builded data.
 */
-local void CclParseBuilded(Unit* unit,SCM list)
+local void CclParseBuilded(Unit* unit __attribute__((unused)),
+	SCM list __attribute__((unused)))
 {
     DebugLevel0Fn("FIXME: builded\n");
 }
diff --git a/src/unit/unit_draw.cpp b/src/unit/unit_draw.cpp
index a8fed9c4b..973aa924c 100644
--- a/src/unit/unit_draw.cpp
+++ b/src/unit/unit_draw.cpp
@@ -132,8 +132,9 @@ local int SelectionColor(const Unit* unit,const UnitType* type)
 **	@param x	Screen X position of the unit.
 **	@param y	Screen Y position of the unit.
 */
-global void DrawSelectionNone(const Unit* unit,const UnitType* type
-	,int x,int y)
+global void DrawSelectionNone(const Unit* unit __attribute__((unused)),
+	const UnitType* type __attribute__((unused)),
+	int x __attribute__((unused)),int y __attribute__((unused)))
 {
 }
 
diff --git a/src/video/font.cpp b/src/video/font.cpp
index 1c5615280..37fde9ce1 100644
--- a/src/video/font.cpp
+++ b/src/video/font.cpp
@@ -31,6 +31,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 #include "freecraft.h"
 #include "video.h"
diff --git a/src/video/sprite.cpp b/src/video/sprite.cpp
index 6f7e9c7cf..f8057fdca 100644
--- a/src/video/sprite.cpp
+++ b/src/video/sprite.cpp
@@ -10,12 +10,11 @@
 //
 /**@name sprite.c	-	The general sprite functions. */
 //
-//	(c) Copyright 2000,2001 by Lutz Sammer
+//	(c) Copyright 2000-2002 by Lutz Sammer, Stephan Rasenberg
 //
 //	FreeCraft is free software; you can redistribute it and/or modify
 //	it under the terms of the GNU General Public License as published
-//	by the Free Software Foundation; either version 2 of the License,
-//	or (at your option) any later version.
+//	by the Free Software Foundation; only version 2 of the License.
 //
 //	FreeCraft is distributed in the hope that it will be useful,
 //	but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -32,6 +31,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 #include "freecraft.h"
 #include "video.h"
@@ -46,10 +46,12 @@
 --	Externals
 ----------------------------------------------------------------------------*/
 
+#if 0 // FIXME: in intern_video.h
 extern int ClipX1;			/// current clipping top left
 extern int ClipY1;			/// current clipping top left
 extern int ClipX2;			/// current clipping bottom right
 extern int ClipY2;			/// current clipping bottom right
+#endif
 
 /*----------------------------------------------------------------------------
 --	Variables