summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2005-01-17 23:58:09 +0000
committerjbj <devnull@localhost>2005-01-17 23:58:09 +0000
commit217c588baacf213a4570ee13e27477683baa3e88 (patch)
tree693227cc46d5576aa50746e5a195d5cea0373537 /python
parentcd3d87df20647dc49e9091115a4e78922387ceb0 (diff)
downloadlibrpm-tizen-217c588baacf213a4570ee13e27477683baa3e88.tar.gz
librpm-tizen-217c588baacf213a4570ee13e27477683baa3e88.tar.bz2
librpm-tizen-217c588baacf213a4570ee13e27477683baa3e88.zip
Build on macosx.
CVS patchset: 7701 CVS date: 2005/01/17 23:58:09
Diffstat (limited to 'python')
-rw-r--r--python/header-py.h2
-rw-r--r--python/rpmmodule.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/python/header-py.h b/python/header-py.h
index acd170db5..49a2d068c 100644
--- a/python/header-py.h
+++ b/python/header-py.h
@@ -14,7 +14,7 @@ extern PyTypeObject hdr_Type;
/** \ingroup py_c
*/
-PyObject * pyrpmError;
+extern PyObject * pyrpmError;
hdrObject * hdr_Wrap(Header h)
/*@*/;
diff --git a/python/rpmmodule.c b/python/rpmmodule.c
index 204717edd..44e134e23 100644
--- a/python/rpmmodule.c
+++ b/python/rpmmodule.c
@@ -39,6 +39,10 @@
/**
*/
+PyObject * pyrpmError;
+
+/**
+ */
static PyObject * archScore(PyObject * self, PyObject * args, PyObject * kwds)
{
char * arch;