summaryrefslogtreecommitdiffstats
path: root/config.sub
diff options
context:
space:
mode:
authorPang Yan Han <pangyanhan@gmail.com>2011-02-08 00:15:13 +0100
committerDan McGee <dan@archlinux.org>2011-02-08 03:26:11 +0100
commitda3b93460258fd24e2535360586fea668fa055fb (patch)
tree2e67b39e815a4307fc56a74fd315152b7461563f /config.sub
parentbe9a60a338fd8591918711f5e826012a0d83136e (diff)
downloadpacman-da3b93460258fd24e2535360586fea668fa055fb.tar.gz
pacman-da3b93460258fd24e2535360586fea668fa055fb.tar.xz
Refactor out common code in pkghash add functions
The overlapping code in _alpm_pkghash_add() and _alpm_pkghash_add_sorted() are now in a new static function pkghash_add_pkg(). This function has a third flag parameter which determines whether the package should be added in sorted order. Signed-off-by: Pang Yan Han <pangyanhan@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'config.sub')
0 files changed, 0 insertions, 0 deletions