xbps_pkg_reverts: return bool instead of int.

This commit is contained in:
Enno Boland
2014-09-23 20:50:34 +02:00
parent 0c333d574b
commit a421bf7db5
2 changed files with 6 additions and 6 deletions

View File

@@ -1846,9 +1846,9 @@ int xbps_humanize_number(char *buf, int64_t bytes);
* @param[in] pkg a package which is a candidate to revert pkgver.
* @param[in] pkgver a package version string
*
* @return 1 if pkg reverts pkgver, 0 otherwise.
* @return true if pkg reverts pkgver, false otherwise.
*/
int xbps_pkg_reverts(xbps_dictionary_t pkg, const char *pkgver);
bool xbps_pkg_reverts(xbps_dictionary_t pkg, const char *pkgver);
/**
* Compares package version strings.