diff options
author | Allan McRae <allan@archlinux.org> | 2011-07-04 08:38:09 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-07-05 10:22:05 -0500 |
commit | 97103f860d48e1f6f9c0dd7c75568618f8ed5163 (patch) | |
tree | e1f79f41530c121ae4ee9d49bad379c2008ee2bd /src | |
parent | c748eadc80593c3941b55b1d4ec6e46899abd295 (diff) |
Remove alpm_list_first
The only thing this accessor did was remove the const qualifier
given our entire list implementation requires passing around the
head anyway.
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/util.c b/src/pacman/util.c index c367d36e..deb3e056 100644 --- a/src/pacman/util.c +++ b/src/pacman/util.c @@ -841,7 +841,7 @@ out: /* cleanup */ if(config->verbosepkglists) { /* targets is a list of lists of strings, free inner lists here */ - for(j = alpm_list_first(targets); j; j = alpm_list_next(j)) { + for(j = targets; j; j = alpm_list_next(j)) { lp = alpm_list_getdata(j); FREELIST(lp); } |