aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2014-05-31 12:04:34 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2014-05-31 12:04:34 +0200
commitcb7a3edc3d60311752e8f76c0302ffd0a1fd0eb9 (patch)
tree939e2aeea2a38bc7358d7a0a04e331826db77c70 /src
parent97ab93f50b6f35bc362990e9dd665b90ca4132df (diff)
remove dup of extern int nConnectTimeout; in netbase
Diffstat (limited to 'src')
-rw-r--r--src/netbase.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/netbase.h b/src/netbase.h
index f5a64cb51f..23cfb1f158 100644
--- a/src/netbase.h
+++ b/src/netbase.h
@@ -17,6 +17,7 @@
#include <vector>
extern int nConnectTimeout;
+extern bool fNameLookup;
#ifdef WIN32
// In MSVC, this is defined as a macro, undefine it to prevent a compile and link error
@@ -33,9 +34,6 @@ enum Network
NET_MAX,
};
-extern int nConnectTimeout;
-extern bool fNameLookup;
-
/** IP address (IPv6, or IPv4 using mapped IPv6 range (::FFFF:0:0/96)) */
class CNetAddr
{