xbps_pkg_epoch is not supported anymore with NetBSD's dewey.

This commit is contained in:
Juan RP
2011-06-14 11:26:00 +02:00
parent 3bd48a8521
commit 0bc77f86fa
2 changed files with 0 additions and 24 deletions

View File

@ -245,20 +245,6 @@ xbps_check_is_installed_pkg_by_name(const char *pkgname)
return false;
}
const char *
xbps_pkg_epoch(const char *pkg)
{
const char *tmp;
assert(pkg != NULL);
tmp = strrchr(pkg, ':');
if (tmp == NULL)
return NULL;
return tmp + 1; /* skip first ':' */
}
const char *
xbps_pkg_version(const char *pkg)
{