diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2013-02-12 14:34:05 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-02-12 16:26:44 -0600 |
commit | 4a0e6714b06453078e02029e1432fab052927691 (patch) | |
tree | 94c97870a0b83f7668481a23d538766107750b58 /blockdev.c | |
parent | 30d940875dcd1adfbfd7fe7ccd3e543408519662 (diff) |
trace: deal with deprecated glib thread functions
g_thread_create() was deprecated in favor of g_thread_new() and
g_cond_new() was deprecated in favor of GCond initialization. If the
host has glib 2.31 or newer, avoid using the deprecated functions.
This patch solves compiler warnings that are generated when glib's
deprecated functions are used.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1360676045-9204-3-git-send-email-stefanha@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions