From c35b809fd1ba5c7c54f538c7d2ea30dc825aac5a Mon Sep 17 00:00:00 2001 From: sletz Date: Fri, 25 Nov 2011 16:50:56 +0000 Subject: [PATCH] Correct JackMachSemaphore. git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4612 0c269be4-1314-0410-8aa9-9f06e86f4224 --- macosx/JackMachSemaphore.cpp | 2 -- macosx/JackMachSemaphore.h | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/macosx/JackMachSemaphore.cpp b/macosx/JackMachSemaphore.cpp index 195fb8c8..c786e1a0 100644 --- a/macosx/JackMachSemaphore.cpp +++ b/macosx/JackMachSemaphore.cpp @@ -26,8 +26,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. namespace Jack { -mach_port_t JackMachSemaphore::fBootPort = 0; - void JackMachSemaphore::BuildName(const char* client_name, const char* server_name, char* res, int size) { char ext_client_name[JACK_CLIENT_NAME_SIZE + 1]; diff --git a/macosx/JackMachSemaphore.h b/macosx/JackMachSemaphore.h index f0968126..d3e5fffa 100644 --- a/macosx/JackMachSemaphore.h +++ b/macosx/JackMachSemaphore.h @@ -39,7 +39,7 @@ class SERVER_EXPORT JackMachSemaphore : public detail::JackSynchro private: semaphore_t fSemaphore; - static mach_port_t fBootPort; + mach_port_t fBootPort; protected: @@ -47,7 +47,7 @@ class SERVER_EXPORT JackMachSemaphore : public detail::JackSynchro public: - JackMachSemaphore():JackSynchro(), fSemaphore(0) + JackMachSemaphore():JackSynchro(), fSemaphore(0), fBootPort(0) {} bool Signal();