diff --git a/ChangeLog b/ChangeLog index 862b3759..cbc558bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,70 @@ +2010-10-30 Tatsuhiro Tsujikawa + + Use unnamed namespace instead of static keyword. + * src/AbstractCommand.cc + * src/AdaptiveURISelector.cc + * src/Base64.cc + * src/BitfieldMan.cc + * src/BtDependency.cc + * src/ConsoleStatCalc.cc + * src/ContentTypeRequestGroupCriteria.cc + * src/CookieStorage.cc + * src/DHTMessageFactoryImpl.cc + * src/DHTRoutingTableDeserializer.cc + * src/DefaultBtAnnounce.cc + * src/DefaultBtProgressInfoFile.cc + * src/DefaultPeerStorage.cc + * src/DefaultPieceStorage.cc + * src/DownloadCommand.cc + * src/DownloadEngine.cc + * src/EpollEventPoll.cc + * src/ExpatMetalinkProcessor.cc + * src/ExpatXmlRpcRequestProcessor.cc + * src/FileEntry.cc + * src/HttpRequest.cc + * src/HttpRequestCommand.cc + * src/HttpResponseCommand.cc + * src/KqueueEventPoll.cc + * src/LongestSequencePieceSelector.cc + * src/MetalinkParserStateV3Impl.cc + * src/MetalinkParserStateV4Impl.cc + * src/MultiDiskAdaptor.cc + * src/MultiUrlRequestInfo.cc + * src/OptionParser.cc + * src/PeerSessionResource.cc + * src/PortEventPoll.cc + * src/Request.cc + * src/RequestGroupMan.cc + * src/SelectEventPoll.cc + * src/SessionSerializer.cc + * src/SimpleLogFormatter.cc + * src/Sqlite3CookieParser.cc + * src/TrackerWatcherCommand.cc + * src/XML2SAXMetalinkProcessor.cc + * src/Xml2XmlRpcRequestProcessor.cc + * src/XmlRpcMethod.cc + * src/XmlRpcMethodImpl.cc + * src/XmlRpcResponse.cc + * src/base32.cc + * src/bencode2.cc + * src/bittorrent_helper.cc + * src/download_helper.cc + * src/main.cc + * src/messageDigest.cc + * src/option_processing.cc + * src/util.cc + * test/AnnounceListTest.cc + * test/BtRegistryTest.cc + * test/DHTBucketTest.cc + * test/DHTRoutingTableTest.cc + * test/DefaultBtAnnounceTest.cc + * test/FileEntryTest.cc + * test/FtpConnectionTest.cc + * test/MSEHandshakeTest.cc + * test/MagnetTest.cc + * test/XmlRpcMethodTest.cc + * test/array_funTest.cc + 2010-10-30 Tatsuhiro Tsujikawa Added '// namespace' after end of unnamed namespace. diff --git a/src/AbstractCommand.cc b/src/AbstractCommand.cc index 8fc74f81..c83ef87b 100644 --- a/src/AbstractCommand.cc +++ b/src/AbstractCommand.cc @@ -521,8 +521,9 @@ void AbstractCommand::setWriteCheckSocketIf } } +namespace { // Returns proxy option value for the given protocol. -static const std::string& getProxyOptionFor +const std::string& getProxyOptionFor (const std::string& proxyPref, const SharedHandle