diff --git a/modules/gfx/pymod/export_gfx_obj.cc b/modules/gfx/pymod/export_gfx_obj.cc
index f9caac28c0d4c9181e29dd1aa01ca5ca84d04cd6..45093dd9bb8927e213c5af627babd19fe9d8f9ce 100644
--- a/modules/gfx/pymod/export_gfx_obj.cc
+++ b/modules/gfx/pymod/export_gfx_obj.cc
@@ -25,7 +25,6 @@ using namespace ost::gfx;
 
 #include "color_by_def.hh"
 
-namespace {
   // convenience for python
   void set_mat_amb2(GfxObjBase* b, float c) {b->SetMatAmb(Color(c,c,c,1.0));}
   void set_mat_diff2(GfxObjBase* b, float c) {b->SetMatDiff(Color(c,c,c,1.0));}
@@ -115,7 +114,6 @@ namespace {
         GfxObj::InitGL();
     }
   };
-}
 
 void export_GfxObj()
 {
diff --git a/modules/gfx/pymod/scene_observer_proxy.hh b/modules/gfx/pymod/scene_observer_proxy.hh
index 63209cb200551e0e9f2f8812374b74c1ef70715c..8ba5faa6be1b1b56c004567dbc6efc3a252f2543 100644
--- a/modules/gfx/pymod/scene_observer_proxy.hh
+++ b/modules/gfx/pymod/scene_observer_proxy.hh
@@ -16,7 +16,6 @@
 using namespace ost;
 using namespace ost::gfx;
 
-namespace {
 
 class SceneObserverProxy: public SceneObserver {
 public:
@@ -75,6 +74,5 @@ private:
   PyObject* self;
 };
 
-}
 
 #endif
diff --git a/modules/gui/pymod/export_tool.cc b/modules/gui/pymod/export_tool.cc
index fbcf9375b7ba02a8c23599cd3650a7571f39672a..c5165570e5cf113da1392e422488dbf9acb5feb7 100644
--- a/modules/gui/pymod/export_tool.cc
+++ b/modules/gui/pymod/export_tool.cc
@@ -32,7 +32,6 @@ using namespace boost::python;
 using namespace ost::gui;
 using namespace ost;
 
-namespace {
   
 struct WrappedTool : public Tool
 {
@@ -81,7 +80,6 @@ struct WrappedTool : public Tool
 };
                                 
 
-namespace {
   
 void tm_add_tool(ToolManager& tm, QPtr<WrappedTool> tool)
 {
@@ -127,13 +125,10 @@ object get_delta_wrapper(MouseEvent& me)
   return qpoint_to_bp_object(delta);
 }
 
-}
-
 
 ToolOption* (ToolOptions::*get_option_a)(const String&, 
                                            const String&) const=&ToolOptions::GetOption;
 ToolOption* (ToolOptions::*get_option_b)(const String&) const=&ToolOptions::GetOption;
-}
 
 void export_Tool()
 {