diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2007-03-06 21:55:44 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2007-03-06 21:55:44 +0000 |
commit | f928d2b27fce6b225d7325702226f159c3014b66 (patch) | |
tree | 34661964e0fe7fc9a226bcfd9cf1102be1a4c5c2 /libvir.c | |
parent | bffcc4f8a22e28b55b18ef434ba2d860e4d4389b (diff) | |
download | libvirt-python-v6-f928d2b27fce6b225d7325702226f159c3014b66.tar.gz libvirt-python-v6-f928d2b27fce6b225d7325702226f159c3014b66.tar.xz libvirt-python-v6-f928d2b27fce6b225d7325702226f159c3014b66.zip |
Fixed up numerous compiler warnings
Diffstat (limited to 'libvir.c')
-rw-r--r-- | libvir.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -15,7 +15,7 @@ #include "libvirt_wrap.h" #include "libvirt-py.h" -void initlibvirmod(void); +extern void initlibvirtmod(void); PyObject *libvirt_virDomainGetUUID(PyObject *self ATTRIBUTE_UNUSED, PyObject *args); PyObject *libvirt_virGetLastError(PyObject *self ATTRIBUTE_UNUSED, PyObject *args); @@ -266,7 +266,7 @@ libvirt_virConnectListDefinedDomains(PyObject *self ATTRIBUTE_UNUSED, Py_INCREF(Py_None); return (Py_None); } - c_retval = virConnectListDefinedDomains(conn, (const char **)names, c_retval); + c_retval = virConnectListDefinedDomains(conn, names, c_retval); if (c_retval < 0) { free(names); Py_INCREF(Py_None); @@ -375,7 +375,7 @@ libvirt_virDomainGetUUID(PyObject *self ATTRIBUTE_UNUSED, PyObject *args) { return(py_retval); } -PyObject * +static PyObject * libvirt_virDomainLookupByUUID(PyObject *self ATTRIBUTE_UNUSED, PyObject *args) { PyObject *py_retval; virDomainPtr c_retval; |