summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/sync.c
diff options
context:
space:
mode:
authorRémy Oudompheng <remy@archlinux.org>2011-04-17 09:45:52 +0200
committerRémy Oudompheng <remy@archlinux.org>2011-04-21 07:08:35 +0200
commit670b315c4d805f1ee86d51ef1632373b35739461 (patch)
tree5b2335406354129666da9a3424ea7b5d9bc58429 /lib/libalpm/sync.c
parent442e1420f95ecc6fd1967677c1be5dfed6584542 (diff)
downloadpacman-670b315c4d805f1ee86d51ef1632373b35739461.tar.gz
pacman-670b315c4d805f1ee86d51ef1632373b35739461.tar.xz
alpm.h: add/improve function documentation
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
Diffstat (limited to 'lib/libalpm/sync.c')
-rw-r--r--lib/libalpm/sync.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c
index cb73c7eb..964cfdba 100644
--- a/lib/libalpm/sync.c
+++ b/lib/libalpm/sync.c
@@ -81,9 +81,7 @@ pmpkg_t SYMEXPORT *alpm_sync_newversion(pmpkg_t *pkg, alpm_list_t *dbs_sync)
return NULL;
}
-/** Search for packages to upgrade and add them to the transaction.
- * @return 0 on success, -1 on error (pm_errno is set accordingly)
- */
+/** Search for packages to upgrade and add them to the transaction. */
int SYMEXPORT alpm_sync_sysupgrade(int enable_downgrade)
{
alpm_list_t *i, *j, *k;