summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2010-01-21 18:24:04 +0000
committerAndrew Stitcher <astitcher@apache.org>2010-01-21 18:24:04 +0000
commit640f833fecec770d75eae4392ef4dd56df109ea3 (patch)
tree36f6e7ed2d4098244d32adbd994e13e68efdd343 /qpid/cpp/src
parentac5dd05cbb7af781c51b6293526df995633e7745 (diff)
downloadqpid-python-640f833fecec770d75eae4392ef4dd56df109ea3.tar.gz
Fixes to make Win32 port build again (and remove some warnings)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@901816 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/qpid/sys/ClusterSafe.h4
-rw-r--r--qpid/cpp/src/qpid/sys/windows/AsynchIO.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/qpid/cpp/src/qpid/sys/ClusterSafe.h b/qpid/cpp/src/qpid/sys/ClusterSafe.h
index 70f07a958a..abb9ad0fff 100644
--- a/qpid/cpp/src/qpid/sys/ClusterSafe.h
+++ b/qpid/cpp/src/qpid/sys/ClusterSafe.h
@@ -22,6 +22,8 @@
*
*/
+#include "qpid/CommonImportExport.h"
+
namespace qpid {
namespace sys {
@@ -37,7 +39,7 @@ namespace sys {
* This function is in the common library rather than the cluster
* library because it is called by code in the broker library.
*/
-void assertClusterSafe();
+QPID_COMMON_EXTERN void assertClusterSafe();
/**
* Base class for classes that encapsulate state which is replicated
diff --git a/qpid/cpp/src/qpid/sys/windows/AsynchIO.cpp b/qpid/cpp/src/qpid/sys/windows/AsynchIO.cpp
index 745ff187c8..96e7ee57c0 100644
--- a/qpid/cpp/src/qpid/sys/windows/AsynchIO.cpp
+++ b/qpid/cpp/src/qpid/sys/windows/AsynchIO.cpp
@@ -194,7 +194,7 @@ AsynchConnector::AsynchConnector(const Socket& sock,
{
}
-AsynchConnector::start(Poller::shared_ptr)
+void AsynchConnector::start(Poller::shared_ptr)
{
try {
socket.connect(hostname, port);
@@ -217,14 +217,12 @@ AsynchAcceptor* AsynchAcceptor::create(const Socket& s,
}
AsynchConnector* qpid::sys::AsynchConnector::create(const Socket& s,
- Poller::shared_ptr poller,
std::string hostname,
uint16_t port,
ConnectedCallback connCb,
FailedCallback failCb)
{
return new windows::AsynchConnector(s,
- poller,
hostname,
port,
connCb,