Skip to content

Commit

Permalink
Merge #19890: refactor: remove unused header <arpa/inet.h> in protoco…
Browse files Browse the repository at this point in the history
…l.cpp

2f79e9d refactor: remove unused header <arpa/inet.h> in protocol.cpp (Sebastian Falbesoner)

Pull request description:

  There is no code using types or functions related to "internet operations" anymore in protocol.cpp (since #735, more than 8 years ago!), hence the header include can be removed.

ACKs for top commit:
  practicalswift:
    ACK 2f79e9d -- patch looks correct and CI is happy
  epson121:
    Code review ACK 2f79e9d
  laanwj:
    ACK 2f79e9d
  promag:
    Code review ACK 2f79e9d.

Tree-SHA512: b3f75fa080125a34ce224f11eb13ec7b914cd9930e3bbed24f550031ce92a7e0830e8ff20159d737ffe487dfd28c24c273ad5e89c6932c8c6960d7fadb6c5e54
  • Loading branch information
laanwj committed Sep 6, 2020
2 parents c91f955 + 2f79e9d commit 68d1f16
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/protocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
#include <util/strencodings.h>
#include <util/system.h>

#ifndef WIN32
# include <arpa/inet.h>
#endif

static std::atomic<bool> g_initial_block_download_completed(false);

namespace NetMsgType {
Expand Down

0 comments on commit 68d1f16

Please sign in to comment.