From 1252de8fe3094f49859fba97d3fa52ec67528657 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 23 Jun 2013 22:36:07 +0000 Subject: [PATCH] more linking issues --- test/dht_server.hpp | 8 +++++--- test/peer_server.hpp | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/test/dht_server.hpp b/test/dht_server.hpp index 7214d30fb..3c5484aaa 100644 --- a/test/dht_server.hpp +++ b/test/dht_server.hpp @@ -30,11 +30,13 @@ POSSIBILITY OF SUCH DAMAGE. */ +#include "test.hpp" // for EXPORT + // returns the port the DHT is running on -int start_dht(); +int EXPORT start_dht(); // the number of DHT messages received -int num_dht_hits(); +int EXPORT num_dht_hits(); -void stop_dht(); +void EXPORT stop_dht(); diff --git a/test/peer_server.hpp b/test/peer_server.hpp index b6d4dcc0e..3e5e28534 100644 --- a/test/peer_server.hpp +++ b/test/peer_server.hpp @@ -30,11 +30,13 @@ POSSIBILITY OF SUCH DAMAGE. */ +#include "test.hpp" // for EXPORT + // returns the port the peer is running on -int start_peer(); +int EXPORT start_peer(); // the number of incoming connections to this peer -int num_peer_hits(); +int EXPORT num_peer_hits(); -void stop_peer(); +void EXPORT stop_peer();