Revert revision 581: "Inline some very common functions in the API."

Some compilers yet don't support fully the inline C99 keyword and
there's little benefit anyway.
This commit is contained in:
Juan RP
2011-02-24 15:48:50 +01:00
parent 17be7bab81
commit 0a6299318e
3 changed files with 16 additions and 16 deletions

View File

@@ -245,13 +245,13 @@ xbps_repository_update_allpkgs(void)
return rv;
}
inline int
int
xbps_repository_update_pkg(const char *pkgname)
{
return repository_find_pkg(pkgname, "update");
}
inline int
int
xbps_repository_install_pkg(const char *pkgpattern)
{
return repository_find_pkg(pkgpattern, "install");