summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPang Yan Han <pangyanhan@gmail.com>2011-02-08 07:15:13 +0800
committerDan McGee <dan@archlinux.org>2011-02-07 20:26:11 -0600
commitda3b93460258fd24e2535360586fea668fa055fb (patch)
tree2e67b39e815a4307fc56a74fd315152b7461563f /doc
parentbe9a60a338fd8591918711f5e826012a0d83136e (diff)
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 'doc')
0 files changed, 0 insertions, 0 deletions