diff options
author | Ralf Corsépius <corsepiu@fedoraproject.org> | 2007-09-12 09:34:31 +0200 |
---|---|---|
committer | Ralf Corsépius <corsepiu@fedoraproject.org> | 2007-09-12 09:34:31 +0200 |
commit | d2d4dae1add3e5e48810baf2524f8bd01cb6e02c (patch) | |
tree | 6205a5390d0577ce5ade43b885c566f7cf7d7bff | |
parent | 142cbc590662d3a90ab3ffc2a20cbc8f1e16dcf3 (diff) | |
download | librpm-tizen-d2d4dae1add3e5e48810baf2524f8bd01cb6e02c.tar.gz librpm-tizen-d2d4dae1add3e5e48810baf2524f8bd01cb6e02c.tar.bz2 librpm-tizen-d2d4dae1add3e5e48810baf2524f8bd01cb6e02c.zip |
Formating cleanup.
-rw-r--r-- | python/header-py.h | 42 | ||||
-rw-r--r-- | python/rpmal-py.h | 3 | ||||
-rw-r--r-- | python/rpmdb-py.h | 6 | ||||
-rw-r--r-- | python/rpmds-py.h | 15 | ||||
-rw-r--r-- | python/rpmfd-py.h | 3 | ||||
-rw-r--r-- | python/rpmfi-py.h | 6 | ||||
-rw-r--r-- | python/rpmmi-py.h | 3 | ||||
-rw-r--r-- | python/rpmmpw-py.h | 6 | ||||
-rw-r--r-- | python/rpmps-py.h | 6 | ||||
-rw-r--r-- | python/rpmrc-py.h | 3 | ||||
-rw-r--r-- | python/rpmte-py.h | 3 |
11 files changed, 33 insertions, 63 deletions
diff --git a/python/header-py.h b/python/header-py.h index 64587990f..f7cd5c723 100644 --- a/python/header-py.h +++ b/python/header-py.h @@ -17,32 +17,20 @@ extern PyTypeObject hdr_Type; */ extern PyObject * pyrpmError; -hdrObject * hdr_Wrap(Header h) - ; - -Header hdrGetHeader(hdrObject * h) - ; - -long tagNumFromPyObject (PyObject *item) - ; - -PyObject * labelCompare (PyObject * self, PyObject * args) - ; -PyObject * versionCompare (PyObject * self, PyObject * args, PyObject * kwds) - ; -PyObject * rpmMergeHeadersFromFD(PyObject * self, PyObject * args, PyObject * kwds) - ; -int rpmMergeHeaders(PyObject * list, FD_t fd, int matchTag) - ; -PyObject * rpmHeaderFromFile(PyObject * self, PyObject * args, PyObject * kwds) - ; -PyObject * rpmHeaderFromFD(PyObject * self, PyObject * args, PyObject * kwds) - ; -PyObject * rpmSingleHeaderFromFD(PyObject * self, PyObject * args, PyObject * kwds) - ; -PyObject * rpmReadHeaders (FD_t fd) - ; -PyObject * hdrLoad(PyObject * self, PyObject * args, PyObject * kwds) - ; +hdrObject * hdr_Wrap(Header h); + +Header hdrGetHeader(hdrObject * h); + +long tagNumFromPyObject (PyObject *item); + +PyObject * labelCompare (PyObject * self, PyObject * args); +PyObject * versionCompare (PyObject * self, PyObject * args, PyObject * kwds); +PyObject * rpmMergeHeadersFromFD(PyObject * self, PyObject * args, PyObject * kwds); +int rpmMergeHeaders(PyObject * list, FD_t fd, int matchTag); +PyObject * rpmHeaderFromFile(PyObject * self, PyObject * args, PyObject * kwds); +PyObject * rpmHeaderFromFD(PyObject * self, PyObject * args, PyObject * kwds); +PyObject * rpmSingleHeaderFromFD(PyObject * self, PyObject * args, PyObject * kwds); +PyObject * rpmReadHeaders (FD_t fd); +PyObject * hdrLoad(PyObject * self, PyObject * args, PyObject * kwds); #endif diff --git a/python/rpmal-py.h b/python/rpmal-py.h index cbbe0d463..0b91763b4 100644 --- a/python/rpmal-py.h +++ b/python/rpmal-py.h @@ -15,7 +15,6 @@ typedef struct rpmalObject_s { extern PyTypeObject rpmal_Type; -rpmalObject * rpmal_Wrap(rpmal al) - ; +rpmalObject * rpmal_Wrap(rpmal al); #endif diff --git a/python/rpmdb-py.h b/python/rpmdb-py.h index 37d5db699..179e677d8 100644 --- a/python/rpmdb-py.h +++ b/python/rpmdb-py.h @@ -25,11 +25,9 @@ struct rpmdbObject_s { extern PyTypeObject rpmdb_Type; #ifdef _LEGACY_BINDINGS_TOO -rpmdb dbFromDb(rpmdbObject * db) - ; +rpmdb dbFromDb(rpmdbObject * db); -rpmdbObject * rpmOpenDB(PyObject * self, PyObject * args, PyObject * kwds) - ; +rpmdbObject * rpmOpenDB(PyObject * self, PyObject * args, PyObject * kwds); PyObject * rebuildDB (PyObject * self, PyObject * args, PyObject * kwds); #endif diff --git a/python/rpmds-py.h b/python/rpmds-py.h index 16403e156..e229f31ca 100644 --- a/python/rpmds-py.h +++ b/python/rpmds-py.h @@ -22,27 +22,22 @@ extern PyTypeObject rpmds_Type; /** */ -rpmds dsFromDs(rpmdsObject * ds) - ; +rpmds dsFromDs(rpmdsObject * ds); /** */ -rpmdsObject * rpmds_Wrap(rpmds ds) - ; +rpmdsObject * rpmds_Wrap(rpmds ds); /** */ -rpmdsObject * rpmds_Single(PyObject * s, PyObject * args, PyObject * kwds) - ; +rpmdsObject * rpmds_Single(PyObject * s, PyObject * args, PyObject * kwds); /** */ -rpmdsObject * hdr_dsFromHeader(PyObject * s, PyObject * args, PyObject * kwds) - ; +rpmdsObject * hdr_dsFromHeader(PyObject * s, PyObject * args, PyObject * kwds); /** */ -rpmdsObject * hdr_dsOfHeader(PyObject * s) - ; +rpmdsObject * hdr_dsOfHeader(PyObject * s); #endif diff --git a/python/rpmfd-py.h b/python/rpmfd-py.h index 15bc9ce2d..498a63ced 100644 --- a/python/rpmfd-py.h +++ b/python/rpmfd-py.h @@ -13,7 +13,6 @@ typedef struct rpmfdObject_s { extern PyTypeObject rpmfd_Type; -rpmfdObject * rpmfd_Wrap(FD_t fd) - ; +rpmfdObject * rpmfd_Wrap(FD_t fd); #endif diff --git a/python/rpmfi-py.h b/python/rpmfi-py.h index edc150829..e10f7740c 100644 --- a/python/rpmfi-py.h +++ b/python/rpmfi-py.h @@ -16,11 +16,9 @@ typedef struct rpmfiObject_s { extern PyTypeObject rpmfi_Type; -rpmfi fiFromFi(rpmfiObject * fi) - ; +rpmfi fiFromFi(rpmfiObject * fi); -rpmfiObject * rpmfi_Wrap(rpmfi fi) - ; +rpmfiObject * rpmfi_Wrap(rpmfi fi); rpmfiObject * hdr_fiFromHeader(PyObject * s, PyObject * args, PyObject * kwds); diff --git a/python/rpmmi-py.h b/python/rpmmi-py.h index bd4d86c61..16565bada 100644 --- a/python/rpmmi-py.h +++ b/python/rpmmi-py.h @@ -20,7 +20,6 @@ struct rpmmiObject_s { extern PyTypeObject rpmmi_Type; -rpmmiObject * rpmmi_Wrap(rpmdbMatchIterator mi, PyObject *s) - ; +rpmmiObject * rpmmi_Wrap(rpmdbMatchIterator mi, PyObject *s); #endif diff --git a/python/rpmmpw-py.h b/python/rpmmpw-py.h index b2564cbce..4d43fbd0c 100644 --- a/python/rpmmpw-py.h +++ b/python/rpmmpw-py.h @@ -29,12 +29,10 @@ extern PyTypeObject mpw_Type; /** */ -mpwObject * mpw_New(int ob_size) - ; +mpwObject * mpw_New(int ob_size); /** */ -mpwObject * mpw_FromMPW(size_t size, mpw* data, int normalize) - ; +mpwObject * mpw_FromMPW(size_t size, mpw* data, int normalize); #endif diff --git a/python/rpmps-py.h b/python/rpmps-py.h index 4ce91c648..23141c586 100644 --- a/python/rpmps-py.h +++ b/python/rpmps-py.h @@ -23,12 +23,10 @@ extern PyTypeObject rpmps_Type; /** */ -rpmps psFromPs(rpmpsObject * ps) - ; +rpmps psFromPs(rpmpsObject * ps); /** */ -rpmpsObject * rpmps_Wrap(rpmps ps) - ; +rpmpsObject * rpmps_Wrap(rpmps ps); #endif diff --git a/python/rpmrc-py.h b/python/rpmrc-py.h index bdec05dc4..bab51519d 100644 --- a/python/rpmrc-py.h +++ b/python/rpmrc-py.h @@ -26,8 +26,7 @@ PyObject * rpmrc_AddMacro(PyObject * self, PyObject * args, PyObject * kwds); PyObject * rpmrc_DelMacro(PyObject * self, PyObject * args, PyObject * kwds); #if Py_TPFLAGS_HAVE_ITER /* XXX backport to python-1.5.2 */ -PyObject * rpmrc_Create(PyObject * self, PyObject * args, PyObject * kwds) - ; +PyObject * rpmrc_Create(PyObject * self, PyObject * args, PyObject * kwds); #endif #endif diff --git a/python/rpmte-py.h b/python/rpmte-py.h index 691eea8a3..00d81f484 100644 --- a/python/rpmte-py.h +++ b/python/rpmte-py.h @@ -15,7 +15,6 @@ typedef struct rpmteObject_s { extern PyTypeObject rpmte_Type; -rpmteObject * rpmte_Wrap(rpmte te) - ; +rpmteObject * rpmte_Wrap(rpmte te); #endif |