diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-10-13 15:06:44 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-13 20:31:42 +0100 |
commit | 1aae667817ddbe7b35bc2be4cc81c991eeda2e0e (patch) | |
tree | 0e1be32d99d699484006c2b4b5c465ce1c13c842 /sal/osl/unx/system.c | |
parent | aa5755e6dc03258c53a626aa74566d1307bf6136 (diff) |
AIX port
Diffstat (limited to 'sal/osl/unx/system.c')
-rw-r--r-- | sal/osl/unx/system.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sal/osl/unx/system.c b/sal/osl/unx/system.c index a8aef1852c62..e6106396b66c 100644 --- a/sal/osl/unx/system.c +++ b/sal/osl/unx/system.c @@ -485,6 +485,7 @@ pid_t getpid(void) #ifdef NO_PTHREAD_SEMAPHORES int sem_init(sem_t* sem, int pshared, unsigned int value) { + (void)pshared; pthread_mutex_init(&sem->mutex, PTHREAD_MUTEXATTR_DEFAULT); pthread_cond_init(&sem->increased, PTHREAD_CONDATTR_DEFAULT); |