Fix duplicate consts around xc_error declarations.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
Ewan Mellor committed 2007-03-08 22:33:47 +00:00
1 parent e1e9aa7c06
commit 45e2bb215f
3 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ static PyObject *dom_op(XcObject *self, PyObject *args,
static PyObject *pyxc_error_to_exception(void)
{
PyObject *pyerr;
const xc_error const *err = xc_get_last_error();
const xc_error *err = xc_get_last_error();
const char *desc = xc_error_code_to_desc(err->code);
if (err->code == XC_ERROR_NONE)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.