SConnection internals should be private, just like for CConnection
diff --git a/common/rfb/SConnection.h b/common/rfb/SConnection.h
index 005a7a8..da38b3e 100644
--- a/common/rfb/SConnection.h
+++ b/common/rfb/SConnection.h
@@ -183,6 +183,8 @@
 
   protected:
     void setState(stateEnum s) { state_ = s; }
+
+  private:
     void writeFakeColourMap(void);
 
     bool readyForSetColourMapEntries;