aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilip Kaufmann <[email protected]>2014-05-31 12:04:34 +0200
committerPhilip Kaufmann <[email protected]>2014-05-31 12:04:34 +0200
commitcb7a3edc3d60311752e8f76c0302ffd0a1fd0eb9 (patch)
tree939e2aeea2a38bc7358d7a0a04e331826db77c70 /src
parentMerge pull request #4252 (diff)
downloaddiscoin-cb7a3edc3d60311752e8f76c0302ffd0a1fd0eb9.tar.xz
discoin-cb7a3edc3d60311752e8f76c0302ffd0a1fd0eb9.zip
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 f5a64cb51..23cfb1f15 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
{