mirror of
https://github.com/moparisthebest/pacman
synced 2025-02-28 09:21:53 -05:00
Remove _alpm_depmiss_isin
This is unneeded now that commit 2ed6b482d2fce916466e44e37930f0b0c0d928bb has eliminated the last user of this function. Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
7341d09541
commit
0b6d73a5b4
@ -82,25 +82,6 @@ pmdepmissing_t *_alpm_depmiss_new(const char *target, pmdepmod_t depmod,
|
||||
return(miss);
|
||||
}
|
||||
|
||||
int _alpm_depmiss_isin(pmdepmissing_t *needle, alpm_list_t *haystack)
|
||||
{
|
||||
alpm_list_t *i;
|
||||
|
||||
ALPM_LOG_FUNC;
|
||||
|
||||
for(i = haystack; i; i = i->next) {
|
||||
pmdepmissing_t *miss = i->data;
|
||||
if(!strcmp(needle->target, miss->target) &&
|
||||
needle->depend.mod == miss->depend.mod &&
|
||||
!strcmp(needle->depend.name, miss->depend.name) &&
|
||||
!strcmp(needle->depend.version, miss->depend.version)) {
|
||||
return(1);
|
||||
}
|
||||
}
|
||||
|
||||
return(0);
|
||||
}
|
||||
|
||||
/* Convert a list of pmpkg_t * to a graph structure,
|
||||
* with a edge for each dependency.
|
||||
* Returns a list of vertices (one vertex = one package)
|
||||
|
@ -52,7 +52,6 @@ struct __pmgraph_t {
|
||||
|
||||
pmdepmissing_t *_alpm_depmiss_new(const char *target, pmdepmod_t depmod,
|
||||
const char *depname, const char *depversion);
|
||||
int _alpm_depmiss_isin(pmdepmissing_t *needle, alpm_list_t *haystack);
|
||||
alpm_list_t *_alpm_sortbydeps(alpm_list_t *targets, pmtranstype_t mode);
|
||||
void _alpm_recursedeps(pmdb_t *db, alpm_list_t *targs, int include_explicit);
|
||||
int _alpm_resolvedeps(pmdb_t *local, alpm_list_t *dbs_sync, pmpkg_t *syncpkg,
|
||||
|
Loading…
x
Reference in New Issue
Block a user