diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-06-22 16:02:59 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-06-22 16:02:59 +0000 |
commit | b619f83d1cd2ac55eaef011bba62ff0d2d5ae1a0 (patch) | |
tree | 834f56be2f14f48cb257d69e0abf04d8d2ef9c6f /URPM.xs | |
parent | 525ddb9ffcfbc77661e6532d28d6c91f08eba93e (diff) | |
download | perl-URPM-b619f83d1cd2ac55eaef011bba62ff0d2d5ae1a0.tar perl-URPM-b619f83d1cd2ac55eaef011bba62ff0d2d5ae1a0.tar.gz perl-URPM-b619f83d1cd2ac55eaef011bba62ff0d2d5ae1a0.tar.bz2 perl-URPM-b619f83d1cd2ac55eaef011bba62ff0d2d5ae1a0.tar.xz perl-URPM-b619f83d1cd2ac55eaef011bba62ff0d2d5ae1a0.zip |
(compare_pkg,compare) style: variables
Diffstat (limited to 'URPM.xs')
-rw-r--r-- | URPM.xs | 15 |
1 files changed, 4 insertions, 11 deletions
@@ -1615,14 +1615,9 @@ Pkg_compare_pkg(lpkg, rpkg) URPM::Package rpkg PREINIT: int compare = 0; - int lepoch; - char *lversion; - char *lrelease; - char *larch; - int repoch; - char *rversion; - char *rrelease; - char *rarch; + int lepoch, repoch; + char *lversion, *lrelease, *larch; + char *rversion, *rrelease, *rarch; CODE: if (lpkg == rpkg) RETVAL = 0; else { @@ -1683,9 +1678,7 @@ Pkg_compare(pkg, evr) char *evr PREINIT: int _epoch, repoch = 0; - char *_version; - char *_release; - char *_eos; + char *_version, *_release, *_eos; CODE: if (!get_e_v_r(pkg, &_epoch, &_version, &_release, &_eos)) croak("undefined package"); |