From 226868507b7d81df9e779f8472b38dbf4c44d14f Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Wed, 4 Mar 2009 04:22:50 +0000 Subject: QPID-1710 Removed unnecessary nonportable internal API git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@749894 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/sys/Socket.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cpp/src/qpid/sys/Socket.h') diff --git a/cpp/src/qpid/sys/Socket.h b/cpp/src/qpid/sys/Socket.h index ae48b8104d..9b749bdf5e 100644 --- a/cpp/src/qpid/sys/Socket.h +++ b/cpp/src/qpid/sys/Socket.h @@ -27,8 +27,6 @@ #include -struct sockaddr; - namespace qpid { namespace sys { @@ -93,7 +91,7 @@ public: /** Accept a connection from a socket that is already listening * and has an incoming connection */ - Socket* accept(struct sockaddr *addr, socklen_t *addrlen) const; + Socket* accept() const; // TODO The following are raw operations, maybe they need better wrapping? int read(void *buf, size_t count) const; -- cgit v1.2.1