On 05/12/2010, at 8:33 AM, Eric Blake wrote:
* src/util/threads.h (virThreadID): New prototype.
* src/util/threads-pthread.c (virThreadID): New function.
* src/util/threads-win32.c (virThreadID): Likewise.
* src/libvirt_private.syms (threads.h): Export it.
* daemon/event.c (virEventInterruptLocked): Use it to avoid
warning on BSD systems.
---
daemon/event.c | 3 ++-
src/libvirt_private.syms | 1 +
src/util/threads-pthread.c | 6 ++++++
src/util/threads-win32.c | 5 +++++
src/util/threads.h | 5 +++++
5 files changed, 19 insertions(+), 1 deletions(-)
As a data point, this patch fixes the "cast from pointer to integer
of different size [-Wpointer-to-int-cast]" warnings.
But it's beyond my personal coding level for reviewing. :/