diff options
author | Pang Yan Han <pangyanhan@gmail.com> | 2011-02-08 07:15:13 +0800 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-02-07 20:26:11 -0600 |
commit | da3b93460258fd24e2535360586fea668fa055fb (patch) | |
tree | 2e67b39e815a4307fc56a74fd315152b7461563f /lib/libalpm/po/Makefile.in.in | |
parent | be9a60a338fd8591918711f5e826012a0d83136e (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 'lib/libalpm/po/Makefile.in.in')
0 files changed, 0 insertions, 0 deletions