diff options
author | Christian Heimes <christian@cheimes.de> | 2013-06-19 00:09:00 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-06-19 00:09:00 (GMT) |
commit | d9a52f2625b66b031e8e6045f7a923aa85d7d3e5 (patch) | |
tree | f1a38a3c428b54c21d0c57cf5dcb9a7d90758b05 | |
parent | d2774c7d097bdc1929cb071b74f7b85ddb6ed789 (diff) | |
parent | 9a00e0a41c7bd51cfa9e24977fb81d4dd67e3973 (diff) | |
download | cpython-d9a52f2625b66b031e8e6045f7a923aa85d7d3e5.zip cpython-d9a52f2625b66b031e8e6045f7a923aa85d7d3e5.tar.gz cpython-d9a52f2625b66b031e8e6045f7a923aa85d7d3e5.tar.bz2 |
merge heads
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS | 3 | ||||
-rw-r--r-- | Python/thread_pthread.h | 3 |
3 files changed, 7 insertions, 0 deletions
@@ -327,6 +327,7 @@ Maxim Dzumanenko Walter Dörwald Hans Eckardt Rodolpho Eckhardt +David Edelsohn John Edmonds Grant Edwards John Ehresman @@ -143,6 +143,9 @@ Tools/Demos Build ----- +- Issue #18256: Compilation fix for recent AIX releases. Patch by + David Edelsohn. + - Issue #15172: Document NASM 2.10+ as requirement for building OpenSSL 1.0.1 on Windows. diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h index 49713ce..e90ae7e 100644 --- a/Python/thread_pthread.h +++ b/Python/thread_pthread.h @@ -170,6 +170,7 @@ static void PyThread__init_thread(void) { #if defined(_AIX) && defined(__GNUC__) + extern void pthread_init(void); pthread_init(); #endif } @@ -444,6 +445,7 @@ PyThread_free_lock(PyThread_type_lock lock) pthread_lock *thelock = (pthread_lock *)lock; int status, error = 0; + (void) error; /* silence unused-but-set-variable warning */ dprintf(("PyThread_free_lock(%p) called\n", lock)); /* some pthread-like implementations tie the mutex to the cond @@ -530,6 +532,7 @@ PyThread_release_lock(PyThread_type_lock lock) pthread_lock *thelock = (pthread_lock *)lock; int status, error = 0; + (void) error; /* silence unused-but-set-variable warning */ dprintf(("PyThread_release_lock(%p) called\n", lock)); status = pthread_mutex_lock( &thelock->mut ); |