Skip to content

Commit

Permalink
Merge bitcoin#19890: refactor: remove unused header <arpa/inet.h> in …
Browse files Browse the repository at this point in the history
…protocol.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 dashpay#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 authored and PastaPastaPasta committed Jul 15, 2021
1 parent 7b796a1 commit a08693f
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/system.h>
#include <util/strencodings.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 a08693f

Please sign in to comment.