Remove dup xbps_cmpver_* func, use just the real one.
--HG-- extra : convert_revision : cde78bdcccc68bb865d5bd76a84c00055f451e96
This commit is contained in:
parent
bef5f8c9dd
commit
e1e3e254ab
6 changed files with 6 additions and 15 deletions
10
lib/cmpver.c
10
lib/cmpver.c
|
@ -225,7 +225,7 @@ get_component(const char *position, version_component *component)
|
|||
* multiple components, separated by a period, including letters.
|
||||
*/
|
||||
int
|
||||
xbps_cmpver_packages(const char *pkg1, const char *pkg2)
|
||||
xbps_cmpver(const char *pkg1, const char *pkg2)
|
||||
{
|
||||
const char *v1, *v2, *ve1, *ve2;
|
||||
unsigned long e1, e2, r1, r2;
|
||||
|
@ -281,11 +281,3 @@ xbps_cmpver_packages(const char *pkg1, const char *pkg2)
|
|||
|
||||
return result;
|
||||
}
|
||||
|
||||
int
|
||||
xbps_cmpver_versions(const char *inst, const char *req)
|
||||
{
|
||||
int res = xbps_cmpver_packages(inst, req);
|
||||
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue