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();