diff options
author | Pang Yan Han <pangyanhan@gmail.com> | 2011-02-08 00:15:13 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-02-08 03:26:11 +0100 |
commit | da3b93460258fd24e2535360586fea668fa055fb (patch) | |
tree | 2e67b39e815a4307fc56a74fd315152b7461563f /lib/libalpm/pkghash.h | |
parent | be9a60a338fd8591918711f5e826012a0d83136e (diff) | |
download | pacman-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 'lib/libalpm/pkghash.h')
0 files changed, 0 insertions, 0 deletions