Skip to content

Commit

Permalink
Merge pull request PurpleI2P#860 from majestrate/fix-case-insensative…
Browse files Browse the repository at this point in the history
…-include

NetDb.h -> NetDb.hpp
  • Loading branch information
orignal authored Apr 22, 2017
2 parents 2756f33 + e238f7e commit 81c2f4b
Show file tree
Hide file tree
Showing 27 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion Win32/Win32App.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <shellapi.h>
#include "ClientContext.h"
#include "Config.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "RouterContext.h"
#include "Transports.h"
#include "Tunnel.h"
Expand Down
2 changes: 1 addition & 1 deletion Win32/i2pd.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
<ClInclude Include="..\LittleBigEndian.h" />
<ClInclude Include="..\Log.h" />
<ClInclude Include="..\NetDbRequests.h" />
<ClInclude Include="..\NetDb.h" />
<ClInclude Include="..\NetDb.hpp" />
<ClInclude Include="..\NTCPSession.h" />
<ClInclude Include="..\Queue.h" />
<ClInclude Include="..\Profiling.h" />
Expand Down
2 changes: 1 addition & 1 deletion Win32/i2pd.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
<ClInclude Include="..\Log.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\NetDb.h">
<ClInclude Include="..\NetDb.hpp">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\NTCPSession.h">
Expand Down
2 changes: 1 addition & 1 deletion daemon/Daemon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "RouterContext.h"
#include "Tunnel.h"
#include "HTTP.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "Garlic.h"
#include "Streaming.h"
#include "Destination.h"
Expand Down
2 changes: 1 addition & 1 deletion daemon/HTTPServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "Tunnel.h"
#include "TransitTunnel.h"
#include "Transports.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "HTTP.h"
#include "LeaseSet.h"
#include "Destination.h"
Expand Down
2 changes: 1 addition & 1 deletion daemon/I2PControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "FS.h"
#include "Log.h"
#include "Config.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "RouterContext.h"
#include "Daemon.h"
#include "Tunnel.h"
Expand Down
2 changes: 1 addition & 1 deletion daemon/UPnP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include "RouterContext.h"
#include "UPnP.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "util.h"
#include "RouterInfo.h"
#include "Config.h"
Expand Down
2 changes: 1 addition & 1 deletion libi2pd/Destination.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "Log.h"
#include "FS.h"
#include "Timestamp.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "Destination.h"
#include "util.h"

Expand Down
2 changes: 1 addition & 1 deletion libi2pd/Destination.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "Crypto.h"
#include "LeaseSet.h"
#include "Garlic.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "Streaming.h"
#include "Datagram.h"

Expand Down
2 changes: 1 addition & 1 deletion libi2pd/I2NPProtocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "I2PEndian.h"
#include "Timestamp.h"
#include "RouterContext.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "Tunnel.h"
#include "Transports.h"
#include "Garlic.h"
Expand Down
2 changes: 1 addition & 1 deletion libi2pd/LeaseSet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "Crypto.h"
#include "Log.h"
#include "Timestamp.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "Tunnel.h"
#include "LeaseSet.h"

Expand Down
2 changes: 1 addition & 1 deletion libi2pd/NTCPSession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "I2NPProtocol.h"
#include "RouterContext.h"
#include "Transports.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "NTCPSession.h"
#ifdef WITH_EVENTS
#include "Event.h"
Expand Down
2 changes: 1 addition & 1 deletion libi2pd/NetDb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "Transports.h"
#include "RouterContext.h"
#include "Garlic.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "Config.h"

using namespace i2p::transport;
Expand Down
2 changes: 1 addition & 1 deletion libi2pd/NetDb.h → libi2pd/NetDb.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#ifndef NETDB_H__
#define NETDB_H__

// this file is called NetDb.hpp to resolve conflict with libc's netdb.h on case insensitive fs
#include <inttypes.h>
#include <set>
#include <map>
Expand Down
2 changes: 1 addition & 1 deletion libi2pd/NetDbRequests.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "Log.h"
#include "I2NPProtocol.h"
#include "Transports.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "NetDbRequests.h"

namespace i2p
Expand Down
2 changes: 1 addition & 1 deletion libi2pd/Reseed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "FS.h"
#include "Log.h"
#include "Identity.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "HTTP.h"
#include "util.h"
#include "Config.h"
Expand Down
2 changes: 1 addition & 1 deletion libi2pd/RouterContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "Crypto.h"
#include "Timestamp.h"
#include "I2NPProtocol.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "FS.h"
#include "util.h"
#include "version.h"
Expand Down
2 changes: 1 addition & 1 deletion libi2pd/RouterInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "Base.h"
#include "Timestamp.h"
#include "Log.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "RouterContext.h"
#include "RouterInfo.h"

Expand Down
2 changes: 1 addition & 1 deletion libi2pd/SSU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "Log.h"
#include "Timestamp.h"
#include "RouterContext.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "SSU.h"

namespace i2p
Expand Down
2 changes: 1 addition & 1 deletion libi2pd/SSUData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <boost/bind.hpp>
#include "Log.h"
#include "Timestamp.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "SSU.h"
#include "SSUData.h"
#ifdef WITH_EVENTS
Expand Down
2 changes: 1 addition & 1 deletion libi2pd/SSUSession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "Timestamp.h"
#include "RouterContext.h"
#include "Transports.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "SSU.h"
#include "SSUSession.h"

Expand Down
2 changes: 1 addition & 1 deletion libi2pd/Transports.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include "Crypto.h"
#include "RouterContext.h"
#include "I2NPProtocol.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "Transports.h"
#include "Config.h"
#ifdef WITH_EVENTS
Expand Down
2 changes: 1 addition & 1 deletion libi2pd/Tunnel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "Timestamp.h"
#include "I2NPProtocol.h"
#include "Transports.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "Config.h"
#include "Tunnel.h"
#include "TunnelPool.h"
Expand Down
2 changes: 1 addition & 1 deletion libi2pd/TunnelEndpoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <string.h>
#include "Crypto.h"
#include "Log.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "I2NPProtocol.h"
#include "Transports.h"
#include "RouterContext.h"
Expand Down
2 changes: 1 addition & 1 deletion libi2pd/TunnelPool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include "I2PEndian.h"
#include "Crypto.h"
#include "Tunnel.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "Timestamp.h"
#include "Garlic.h"
#include "Transports.h"
Expand Down
2 changes: 1 addition & 1 deletion libi2pd/api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <map>
#include "Config.h"
#include "Log.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "Transports.h"
#include "Tunnel.h"
#include "RouterContext.h"
Expand Down
2 changes: 1 addition & 1 deletion libi2pd_client/AddressBook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "FS.h"
#include "Log.h"
#include "HTTP.h"
#include "NetDb.h"
#include "NetDb.hpp"
#include "ClientContext.h"
#include "AddressBook.h"
#include "Config.h"
Expand Down

0 comments on commit 81c2f4b

Please sign in to comment.