Remove alpm_sync_get_newversion function
sync->newversion shouldn't be public at all, and internally we access it directly. (Before pmsyncpkg_t clean-up the analogue of this field [type] was needed in replaces computation.) Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
This commit is contained in:
parent
7dc37109b0
commit
77c3cf9790
2 changed files with 0 additions and 9 deletions
|
@ -246,7 +246,6 @@ const alpm_list_t *alpm_grp_get_pkgs(const pmgrp_t *grp);
|
||||||
* Sync
|
* Sync
|
||||||
*/
|
*/
|
||||||
|
|
||||||
pmpkgreason_t alpm_sync_get_newreason(const pmsyncpkg_t *sync);
|
|
||||||
pmpkg_t *alpm_sync_get_pkg(const pmsyncpkg_t *sync);
|
pmpkg_t *alpm_sync_get_pkg(const pmsyncpkg_t *sync);
|
||||||
alpm_list_t *alpm_sync_get_removes(const pmsyncpkg_t *sync);
|
alpm_list_t *alpm_sync_get_removes(const pmsyncpkg_t *sync);
|
||||||
pmpkg_t *alpm_sync_newversion(pmpkg_t *pkg, alpm_list_t *dbs_sync);
|
pmpkg_t *alpm_sync_newversion(pmpkg_t *pkg, alpm_list_t *dbs_sync);
|
||||||
|
|
|
@ -1182,14 +1182,6 @@ pmsyncpkg_t *_alpm_sync_find(alpm_list_t *syncpkgs, const char* pkgname)
|
||||||
return(NULL); /* not found */
|
return(NULL); /* not found */
|
||||||
}
|
}
|
||||||
|
|
||||||
pmpkgreason_t SYMEXPORT alpm_sync_get_newreason(const pmsyncpkg_t *sync)
|
|
||||||
{
|
|
||||||
/* Sanity checks */
|
|
||||||
ASSERT(sync != NULL, return(-1));
|
|
||||||
|
|
||||||
return sync->newreason;
|
|
||||||
}
|
|
||||||
|
|
||||||
pmpkg_t SYMEXPORT *alpm_sync_get_pkg(const pmsyncpkg_t *sync)
|
pmpkg_t SYMEXPORT *alpm_sync_get_pkg(const pmsyncpkg_t *sync)
|
||||||
{
|
{
|
||||||
/* Sanity checks */
|
/* Sanity checks */
|
||||||
|
|
Loading…
Add table
Reference in a new issue